background image

Appendix 1.  Program Error 

 

 

 575

 

Error No. 

Details 

Remedy 

P411 

Illegal modal G111 

•  G111 was issued during milling mode. 
•  G111 was issued during nose R 

compensation mode. 

•  G111 was issued during constant surface 

speed. 

•  G111 was issued during mixed 

synchronization control. 

•  G111 was issued during fixed cycle. 
•  G111 was issued during polar coordinate 

interpolation. 

•  G111 was issued during cylindrical 

interpolation mode. 

•  Before commanding G111, cancel the 

following commands. 
• Milling mode 
•  Nose R compensation 
•  Constant surface speed 
•  Mixed synchronization control 
• Fixed cycle 
•  Polar coordinate interpolation  
• Cylindrical interpolation 

P412 

P412 No spec: Axis name switch 

Axis name switch (G111) was issued even 
though there is no axis name switch (G111) 
specification.  

•  Check the specifications. 

P420 

No spec: Para input by program 

Parameter input by program (G10) was 
commanded even though there is no 
specification of parameter input by program. 

•  Check the specifications. 

P421 

Parameter input error 

•  The specified parameter No. or set data is 

illegal. 

•  An illegal G command address was input in 

parameter input mode. 

•  A parameter input command was input 

during fixed cycle modal or nose R 
compensation. 

•  G10L50, G10L70, G11 were not 

commanded in independent blocks. 

•  Check the program. 

P430 

R-pnt return incomplete 

•  A command was issued to move an axis‚ 

which has not returned to the reference 
position‚ away from that reference position.

•  A command was issued to an axis removal 

axis. 

•  Execute reference position return manually. 
•  The command was issued to an axis for which 

axis removal is validated so invalidate axis 
removal. 

 

P431 

No spec: 2,3,4th R-point ret 

A command for second‚ third or fourth 
reference position return was issued though 
there are no such command specifications. 

•  Check the specifications. 

P432 

No spec: Start position return 

Start position return (G29) was commanded 
even though there is no start position return 
specification.  

•  Check the specifications. 

P433 

No spec: R-position check 

Reference position check (G27) was 
commanded even though there is no 
reference position check specification.  

•  Check the specifications. 

Summary of Contents for M700V Series

Page 1: ......

Page 2: ......

Page 3: ...MELDAS is a registered trademark of Mitsubishi Electric Corporation Other company and product names that appear in this manual are trademarks or registered trademarks of the respective companies ...

Page 4: ......

Page 5: ...to note as many special handling methods in this user s manual Items not described in this manual must be interpreted as not possible This manual has been 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...

Page 6: ......

Page 7: ... case important information that must always be observed is described DANGER Not applicable in this manual WARNING Not applicable in this manual 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 An effort has been made to describe special handli...

Page 8: ...ted to programming The commands with no value after G will be handled as G00 EOB and EOR are symbols used for explanation The actual codes for ISO are CR LF LF and The programs created on the Edit screen are stored in the NC memory in a CR LF format however the 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 Bl...

Page 9: ...olation Functions 33 6 1 Positioning Rapid Traverse G00 33 6 2 Linear Interpolation G01 40 6 3 Plane Selection G17 G18 G19 42 6 4 Circular Interpolation G02 G03 44 6 5 R specified Circular Interpolation G02 G03 49 6 6 Helical Interpolation G17 to G19 G02 G03 52 6 7 Thread Cutting 56 6 7 1 Constant Lead Thread Cutting G33 56 6 7 2 Inch Thread Cutting G33 60 6 8 Unidirectional Positioning G60 61 6 9...

Page 10: ... digit BCD 160 12 Tool Compensation Functions 161 12 1 Tool Compensation 161 12 2 Tool Length Compensation Cancel G43 G44 165 12 3 Tool Length Compensation in the Tool Axis Direction G43 1 G44 168 12 4 Tool Radius Compensation G38 G39 G40 G41 G42 175 12 4 1 Tool Radius Compensation Operation 176 12 4 2 Other Commands and Operations During Tool Radius Compensation 185 12 4 3 G41 G42 Commands and I ...

Page 11: ...d 375 13 9 Geometric Command 376 13 10 Circle Cutting G12 G13 380 13 11 Parameter Input by Program G10 G11 1 382 13 12 Macro Interrupt ION IOF 383 13 13 Tool Change Position Return G30 1 to G30 6 391 13 14 Normal Line Control G40 1 G41 1 G42 1 394 13 15 High accuracy Control G61 1 G08 405 13 16 High speed Machining Mode G05 G05 1 419 13 16 1 High speed Machining Mode I II G05 P1 G05 P2 419 13 17 H...

Page 12: ...e System Setting G52 531 14 12 Workpiece Coordinate System Preset G92 1 535 14 13 Coordinate System for Rotary Axis 540 15 Measurement Support Functions 543 15 1 Automatic Tool Length Measurement G37 1 543 15 2 Skip Function G31 547 15 3 Multi step Skip Function G31 n G04 552 15 4 Multi step Skip Function 2 G31 554 15 5 Speed Change Skip G31 556 15 6 Programmable Current Limitation 559 15 7 Stroke...

Page 13: ...xes can be controlled The designation of the processing direction responds to those axes and uses a coordinate word made up of alphabet characters that have been decided beforehand Program coordinates Direction of table movement Direction of table movement Bed X Y table Z Z Y X X Y Workpiece X Y table Program coordinates Direction of table movement Direction of table revolution Z C X X Y Y C Workp...

Page 14: ... zero point Workpiece coordinate zero points G54 G59 Basic machine coordinate system Machine zero point 1st reference position Workpiece coordinate system 3 G56 Workpiece coordinate system 2 G55 Workpiece coordinate system 1 G54 Workpiece coordinate system 6 G59 Workpiece coordinate system 5 G58 Workpiece coordinate system 4 G57 Local coordinate system G52 Y y3 X y2 y y1 y5 x1 x3 x2 x x5 ...

Page 15: ... Follow 1003 iunit 1 0 0001 0 00001 0 0001 10 0 001 0 0001 0 001 100 0 01 0 001 0 01 1000 0 1 0 01 0 1 Command unit 10000 1 0 0 1 1 0 Note 1 Inch metric changeover is performed in either of 2 ways conversion from the parameter screen 1041 I_inch valid only when the power is turned ON and conversion using the G command G20 or G21 However when a G command is used for the conversion the conversion ap...

Page 16: ...etting range 99999 999 99999 9999 99999 99999 99999 999999 12 1234 inch 12 1234 12 12340 12 123400 12 1234000 Position data Example SoftLimit Inch Setting range 9999 9999 9999 99999 9999 999999 9999 9999999 1 µm 2 20 200 2000 Milli metre Setting range 9999 9999 9999 9999 0 001 inch 2 20 200 2000 Interpolation unit data Inch Setting range 9999 9999 9999 9999 2 Program command The program command un...

Page 17: ...mand increment is set to 0 1µm and this function s parameter value is set to 10 machining similar to before this function is possible 3 This function cannot be used for the dwell function G04_X_ P_ 4 This function cannot be used for the compensation amount of the tool compensation input 5 This function can be used when decimal point type I is valid but cannot be used when decimal point type II is ...

Page 18: ...ter is set to 0 Example When the indexing increment setting value is 2 degrees only command with the 2 degree increment are possible G90 G01 C102 000 Moves to the 102 degree angle G90 G01 C101 000 Program error G90 G01 C102 Moves to the 102 degree angle Decimal point type II The following axis specification parameter is used Item Contents Setting range unit 2106 Index unit Indexing increment Set t...

Page 19: ...programming but use the keys in the following table instead CAUTION EOB and EOR are symbols used for explanation The actual codes for ISO are CR LF LF and The programs created on the Edit screen are stored in the NC memory in a CR LF format however the 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 E...

Page 20: ...The difference of the label and variable code is the following tables Code Control in out range Label L Label O ISO EIA Form to Ignore the data Ignore the data From O to EOB Ignore the data The value after O will be handled as label No Note Always set O at the head of the block A program error P32 will occur if there is O besides the head of the block 3 EOR code Generally the end or record code is...

Page 21: ...e HT Horizontal Tab Apostrophe DEL Delete NULL DEL Delete Under the ISO code IF or NL is EOB and is EOR Under the ISO code CR is meaningless and EOB will not occur A B ISO code R 840 Feed holes Code A are stored on tape but an error results except when they are used in the comment section during operation The B codes are non working codes and are always ignored Parity V check is not executed Table...

Page 22: ...h a sign placed at the head of the number Alphabet address Word Numerals Word configuration The alphabet letter at the head of the word is the address It defines the meaning of the numerical information which follows it For details of the types of words and the number of significant digits of words used for this controller refer to the format details 2 Blocks A block is a collection of words It in...

Page 23: ...J 56 K 56 Note 5 Dwell 0 001 rev s X53 P8 0 001 mm 0 001 inch F63 F54 F63 F54 Note 6 0 0001 mm 0 0001 inch F64 F55 F64 F55 Note 6 0 00001 mm 0 00001 inch F65 F56 F65 F56 Note 6 Feed function Feed per minute 0 000001 mm 0 000001 inch F66 F57 F66 F57 Note 6 0 0001 mm 0 0001 inch F33 F34 F33 F34 Note 6 0 00001 mm 0 00001 inch F34 F35 F34 F35 Note 6 0 000001 mm 0 000001 inch F35 F36 F35 F36 Note 6 Fee...

Page 24: ...he degrees will be converted into 0 1 inches for interpolation Note 6 While inch commands are being used the rotary axis speed will be in increments of 10 degrees Example With the F1 per minute feed command this will become the 10 degrees minute command Note 7 The decimal places below the decimal point are ignored when a command such as an S command with an invalid decimal point has been assigned ...

Page 25: ...s of whether the optional block skip switch is ON or OFF When for instance all blocks are to be executed for one workpiece but specific block are not to be executed for another workpiece the same command tape can be used to machine different parts by inserting the code at the head of those specific blocks Precautions for using optional block skip 1 Put the code for optional block skip at the begin...

Page 26: ...is turned ON For the block with the n code inside the block not the head of block the program is operated according to the value of the parameter 1226 aux10 bit1 setting When the optional block skip signal is OFF the block with n is executed Example of program 1 When the 2 parts like the figure below are machined the following program is used When the optional block skip 5 signal is ON the part 1 ...

Page 27: ...8 N09 N10 N11 N12 b Optional block skip 2 signal ON Optional block skip 1 3 signals OFF N01 N05 N06 N07 N11 N12 c Optional block skip 3 signal ON Optional block skip 1 2 signals OFF N01 N02 N03 N04 N11 N12 3 When the parameter 1226 aux10 bit1 is 1 when two or more n are commanded inside the same block the commands following n in the block are ignored if either of the optional block skip signal cor...

Page 28: ...reset to zero every time a program number or sequence number is read and they are counted up one at a time unless program numbers or sequence numbers are commanded in blocks which are subsequently read Consequently all the blocks of the machining programs given in the table below can be determined without further consideration by combinations of program numbers sequence numbers and block numbers M...

Page 29: ... error When a parity H error occurs the tape stops following the alarm code 2 Parity V A parity V check is done during tape operation tape input and sequence number search when the I O PARA 9n15 n is the unit No 1 to 5 parity V check function is set to 1 It is not done during memory operation A parity V error occurs in the following case when the number of codes from the first significant code to ...

Page 30: ...ar interpolation 6 14 04 00 Dwell 8 1 05 00 High speed machining mode High speed high accuracy control II 13 16 13 17 05 1 00 High speed high accuracy control I Spline 13 17 13 18 06 2 01 NURBS interpolation 6 15 07 00 Hypothetical axis interpolation 6 16 07 1 107 21 Cylindrical interpolation 6 9 08 00 High accuracy control 13 15 09 00 Exact stop check 7 9 10 00 Program data input parameter compen...

Page 31: ...le circle 13 2 35 00 Special fixed cycle line at angle 13 2 36 00 Special fixed cycle arc 13 2 37 00 Special fixed cycle grid 13 2 37 1 00 Automatic tool length measurement 15 1 38 00 Tool radius compensation vector designation 12 4 39 00 Tool radius compensation corner arc 12 4 40 07 Tool radius compensation cancel 3 dimentional tool radius compensation cancel 12 4 12 5 41 07 Tool radius compensa...

Page 32: ... 13 Synchronous tapping mode reverse tapping 64 13 Cutting mode 7 14 65 00 User macro call 13 5 1 66 14 User macro modal call A 13 5 1 66 1 14 User macro modal call B 13 5 1 67 14 User macro modal call cancel 13 5 1 68 00 Subprogram return 13 5 1 69 00 End point error check cancellation 13 26 68 1 16 Programmable coordinate rotation mode ON 3 dimensional coordinate conversion mode ON 13 21 13 23 6...

Page 33: ...ist of conventional G codes Depending on the machine movements that differ from the conventional G commands may be included when called by the G code macro Refer to the Instruction Manual issued by the tool builder Note 4 Whether the modal is initialized or not depends on each reset input 1 Reset 1 The modal is initialized when the reset initial parameter 1151 rstinit turns ON 2 Reset 2 and Reset ...

Page 34: ... following block Buffer size 250 x 5 characters Tape Input buffer Memory Keyboard MDI data Mode switching Analysis processing Max 5 execution blocks Buffer 4 Arithmetic processing Note Data equivalent to 1 block are stored in 1 pre read buffer Buffer 3 Buffer 2 Buffer 1 Pre read buffer 5 The input buffer has a memory capacity of 250 x 5 characters including the EOB code 1 The contents of the input...

Page 35: ...The pre read buffer contents are cleared with resetting 5 When the single block function is ON during continuous operation the pre read buffer stores the following block data and then stops operation Other precautions 1 Depending on whether the program is executed continuously or by single blocks the timing of the valid invalid for the external control signals for the block skip and others will di...

Page 36: ...that was designated in the program N 1 G90 G00 X0 Y0 In the incremental value mode the current position is the start point 0 and the movement is made only the value determined by the program and is expressed as an incremental value N 2 G90 G01 X200 Y50 F100 N 2 G91 G01 X200 Y50 F100 Using the command from the 0 point in the workpiece coordinate system it becomes the same coordinate command value i...

Page 37: ...to the workpiece coordinate system 300 mm position The Y axis is moved 100 mm with G91 As a result Y moves to the 200 mm position In terms of the next block G91 remains as the modal and becomes the incremental value mode 4 When the power is turned ON it is possible to select whether you want absolute value commands or incremental value commands with the 1073 I_Absm parameter 5 Even when commanding...

Page 38: ...when 1041 I_inch is ON during the G21 command mode The internal unit metric data of the movement speed command will be converted into an inch unit and displayed when 1041 I_inch is OFF during the G20 command mode The command unit for when the power is turned ON and reset is decided by combining the parameters 1041 I_inch 1151 rstint and 1210 RstGmd bit5 NC axis Initial inch OFF metric internal uni...

Page 39: ...input data the unit will follow the unit currently set to NC 2 The unit of read write used in PLC window is fixed to metric unit regardless of a parameter and G20 G21 command modal 3 A program error P33 will occur if G20 G21 command is issued in the same block as following G code Command in a separate block G05 High speed machining mode G7 1 Cylindrical Interpolation G12 1 Polar coordinate interpo...

Page 40: ...wever P is valid only during scaling For details refer to the list 4 In decimal point command the valid range of command value is as shown below Input command unit cunit 10 Movement command linear Movement command rotary Feedrate Dwell Input unit mm 99999 999 to 99999 999 0 001 to 10000000 000 Input unit inch 9999 9999 to 9999 9999 99999 999 to 99999 999 0 0001 to 1000000 0000 0 to 99999 999 5 The...

Page 41: ...0 045 Decimal point input I II and decimal point command valid invalid If a command does not use a decimal point at an address where a decimal point command is valid in the table on the following page it is handled differently between decimal point input I and II modes as explained below A command using a decimal point is handled the same way in either the decimal point input I or II mode 1 Decima...

Page 42: ...id Data setting byte type data Invalid Subprogram storing device number D E Valid Inch thread number of ridges precision thread lead Valid Dwell time at hole bottom of fixed cycle label L O F Valid Feedrate automatic tool length measurement speed Valid Thread lead Valid Number of Z axis pitch in synchronous tap G Valid Preparatory function code H Invalid Tool length compensation number Invalid Seq...

Page 43: ...id Program parameter input data setting selection L70 Invalid Program parameter input 2 word type data 4 bytes Invalid Tool life data M Invalid Miscellaneous function codes N Invalid Sequence numbers Invalid Program parameter input data numbers O Invalid Program numbers label O P Invalid Valid Dwell time Parameter Invalid Subprogram call number of repetition label L O Invalid Valid Dwell at tap cy...

Page 44: ...radius Valid Corner R arc radius R Valid Offset amount G10 Invalid Synchronous tap asynchronous tap changeover Valid Automatic tool length measurement deceleration distance r Valid Rotation angle S Invalid Spindle function codes Invalid Maximum spindle clamp speed Invalid Constant surface speed control surface speed Invalid Program parameter input word type data 2 bytes T Invalid Tool function cod...

Page 45: ...ued If the next command is G00 all that is required is simply that the coordinate words be specified 2 In the G00 mode the tool is always accelerated at the start point of the block and decelerated at the end point Having no more command pulse in the current block and the following error status of the acceleration deceleration paths are confirmed before advancing to the next block The in position ...

Page 46: ...ting the start and end points The positioning speed is automatically calculated so that the shortest distribution time is obtained in order that the commanded speeds for each axis do not exceed the rapid traverse rate When for instance the Y axis and Z axis rapid traverse rates are both 9600mm min the tool will follow the path in the figure below if the following is programmed G91 G00 X 300000 Y20...

Page 47: ...pid traverse rates are both 9600mm min the tool will follow the path in the figure below if the following is programmed G91 G00 X 300000 Y200000 With an input setting unit of 0 001mm End point Actual Y axis rate 9600mm min Actual X axis rate 9600mm min Start point Unit mm fx fy Y X 300 200 Note 3 The rapid traverse rate for each axis with the G00 command differs according to the individual machine...

Page 48: ... 2224 SV024 the longer the reduced time is but the remaining distance of the previous block at the starting time of the next block also becomes larger and this could become an obstacle in the actual processing work The check for the remaining distance is done at set intervals Accordingly it may not be possible to get the actual amount of time reduction for positioning with the setting value SV 024...

Page 49: ...celeration check time Td 2 Ts 0 14ms Where Ts is the acceleration time constant α 0 to 14ms The time required for the deceleration check during rapid traverse is the longest among the rapid traverse deceleration check times of each axis determined by the rapid traverse acceleration deceleration time constants and by the rapid traverse acceleration deceleration mode of the axes commanded simultaneo...

Page 50: ...tem is less than the in position width issued in this command before executing the next block The differences of when the in position check is validated with the parameter base specification parameter 1193 inpos set to 1 refer to next page for in position width and when validated with this command are shown in the following drawing Differences between in position check with this command and in pos...

Page 51: ... in position SV024 A stop is judged here When the SV024 value is larger the in position check is completed when the error amount is smaller than the SV024 setting value The in position check method depends on the method set in the deceleration check parameter Note 1 When the in position width programmable in position check width is set in the machining program either the in position width set with...

Page 52: ...the state of G90 G91 at that time F Feedrate mm min or min I In position width A program error occurs if a decimal point command is issued This is valid only in the commanded block A block that does not contain this address will follow the parameter 1193 inpos settings Detailed description 1 Once this command is issued the mode is maintained until another G function G00 G02 G03 G33 in the 01 group...

Page 53: ...for linear interpolation This command commands the in position width for the linear interpolation command from the machining program The commanded in position width is valid in the linear interpolation command only when carrying out deceleration check When the error detect switch is ON When G09 exact stop check is commanded in the same block When G61 exact stop check mode is selected G01 X__ Y__ Z...

Page 54: ...tary axis can be selected The plane selection is as follows Plane that executes circular interpolation including helical cutting Plane that executes tool radius compensation Plane that executes fixed cycle positioning Command format G17 G18 G19 ZX plane selection YZ plane selection XY plane selection X Y and Z indicate each coordinate axis or the parallel axis Parameter entry Table 1 Example of pl...

Page 55: ...s is omitted in the block where the plane selection G code G17 G18 G19 is commanded it will be viewed as though the basic three axes address has been omitted For the parameter registration example in Table 1 G17 XY plane G17U__ UY plane G18U__ ZU plane G18V__ VX plane G19Y__ YZ plane G19V__ YV plane 4 The axis command that does not exist in the plane determined by the plane selection G code G17 G1...

Page 56: ...igned with addresses X Y or Z or parallel axis X Y Z and the arc center coordinate value is assigned with addresses I J or K Either an absolute value or incremental value can be used for the arc end point coordinate value command but the arc center coordinate value must always be commanded with an incremental value from the start point The arc center coordinate value is commanded with an input set...

Page 57: ... X Z Z X Z Y G3 G3 G3 G2 G2 G2 G17 X Y plane G18 Z X plane G19 Y Z plane 2 An arc which extends for more than one quadrant can be executed with a single block command 3 The following information is needed for circular interpolation a Plane selection Is there an arc parallel to one of the XY ZX or YZ planes b Rotation direction Clockwise G02 or counterclockwise G03 c Arc end point coordinates Given...

Page 58: ...gram Example 1 Y axis Feedrate F 500mm min Circle center J 50mm Start point end point X axis Y X G02 J50000 F500 Circle command Example 2 Y axis Feedrate F 500mm min Start point X axis Y X Arc center J 50mm End point X50 Y50mm G91 G02 X50000 Y50000 J50000 F500 3 4 command ...

Page 59: ...rcular command When the parameter 11029 Arc to G1 no Cent Change command from arc to linear when no arc center designation is set the linear interpolation can be applied to terminal coordinates value for only the block However a modal is the circular modal This function is not applied to a circular command by a geometric function Example The parameter 11029 Arc to G1 no Cent Change command from ar...

Page 60: ...The following occurs when the start and end point radius do not match in an arc command a Program error P70 results at the arc start point when error ΔR is greater than parameter 1084 RadErr Start point Alarm stop Start point radius End point radius End point 1084 RadErr parameter value 0 100 Start point radius 5 000 End point radius 4 899 Error ΔR 0 101 Center G91 G02X9 899I 5 ΔR b Spiral interpo...

Page 61: ...of the arc The point where the arc with the specified radius whose start point is the center intersects the perpendicular bisector line serves as the center coordinates of the arc command If the R sign of the commanded program is plus the arc is smaller than a semisphere if it is minus the arc is larger than a semisphere Center point Arc path when R sign is minus L r Arc path when R sign is plus E...

Page 62: ...Zz1 Xx1 Rr1 Ff1 ZX plane R specified arc Example 3 G02 Xx1 Yy1 Ii1 Jj1 Rr1 Ff1 XY plane R specified arc When the R specification and I J K specification are contained in the same block the R specification has priority in processing Example 4 G17 G02 Ii1 Jj1 Rr1 Ff1 XY plane This is an R specified arc but as this is a circle command it is already completed ...

Page 63: ...e correction value of arc center error Ex 11028 Tolerance Arc Cent 0 000 mm Setting value Tolerance value Setting value 0 0 Center error will not be interpolated Setting value 0 2 minimum setting increment Setting value 0 Setting value 0 10 N1 N3 N G90 X0 Y0 N1 G02 X10 R5 000 N2 G0 X0 N3 G02 X10 R5 001 N4 G0 X0 N5 G02 X10 R5 002 N6 G0 X0 M02 a b a Compensate the center coordinate Same as N1 path b...

Page 64: ... point End point Fig 1 Designation of helical interpolation speed Command format G17 G02 G03 Xx1 Yy1 Zz1 Ii1 Jj1 Pp1 Ff1 Helical interpolation command Specify arc center G17 G02 G03 Xx2 Yy2 Zz2 Rr2 Ff2 Helical interpolation command Specify radius R G17 G18 G19 Plane selection G17 XY plane G18 ZX plane G19 YZ plane G02 G03 Arc rotation direction Xx1 Yy1 Xx2 Yy2 Arc end point coordinate Zz1 Zz2 Line...

Page 65: ...he end point coordinates from the arc center 4 If pitch No is 0 address P can be omitted Note The pitch No P command range is 0 to 9999 The pitch No designation P command cannot be made with the R specified arc 5 Plane selection The helical interpolation arc plane selection is determined with the plane selection mode and axis address as for the circular interpolation For the helical interpolation ...

Page 66: ... methods following the program example can be used Refer to the section 6 3 plane selection for the arc planes selected with these command methods Example of program Example 1 Z axis Y axis X axis z1 G17 XY plane G03 Xx1 Yy1 Zz1 Ii1 Jj1 P0 Ff1 XY plane arc Z axis linear Note If pitch No is 0 address P can be omitted Z axis Y axis X axis z1 r1 Example 2 G17 XY plane G02 Xx1 Yy1 Zz1 Rr1 Ff1 XY plane...

Page 67: ...h arc plane element is F100 G01 X20 Linear interpolation at F100 G02 X10 Y 10 Z4 J10 Helical interpolation at speed at which arc plane element is F100 G01 Y 40 F120 Linear interpolation at F120 G02 X 10 Y 10 Z 4 I10 Helical interpolation at speed at which arc plane element is F120 G01 X 20 Linear interpolation at F120 When the arc plane element speed designation is selected only the helical interp...

Page 68: ...h moves most direction Q Thread cutting start shift angle 0 000 to 360 000 G33 Z__ X__ Y__ α__ E__ Q__ Precision lead thread cutting commands Z X Y α Thread end point E Lead of long axis axis which moves most direction Q Thread cutting start shift angle 0 000 to 360 000 Detailed description 1 The E command is also used for the number of ridges in inch thread cutting and whether the ridge number or...

Page 69: ...001 99 99999 0 0000001 39 3700787 0 01001 9999 99999 Input unit system D 0 000001inch E 0 0000001inch Command address F inch rev E inch rev E ridges inch F inch rev E inch rev E ridges inch Minimum command unit 1 1 000000 1 1 000000 1 1 00000000 1 1 00000000 1 1 000000 1 1 000000 1 1 0000000 1 1 0000000 1 1 000000000 1 1 000000000 1 1 0000000 1 1 0000000 Command range 0 000001 99 999999 0 00000001...

Page 70: ...he formula of 10 above the program error P93 may occur 12 Though dry run is valid for thread cutting the feed rate based on dry run is not synchronized with the spindle rotation The dry run signal is checked at the start of thread cutting and any switching during thread cutting is ignored 13 Synchronous feed applies for the thread cutting commands even with an asynchronous feed command G94 14 Spin...

Page 71: ...hread cutting is executed Thread lead 6 0mm N113 M19 Spindle orientation is executed with the M19 command N114 G0X 210 The tool is evaded in the X axis direction N115 Z110 M0 The tool rises to the top of the workpiece and the program stops with M00 Adjust the tool if required N116 X 200 M3 Preparation for second thread cutting is done N117 G04 X5 0 Command dwell to stabilize the spindle rotation i...

Page 72: ...f ridges per inch in direction of long axis axis which moves most decimal point command can also be assigned Q Thread cutting start shift angle 0 to 360 Detailed description 1 The number of ridges in the long axis direction is assigned as the number of ridges per inch 2 The E code is also used to assign the precision lead length and whether the ridge number of precision lead length is to be design...

Page 73: ...0 G0X 200 Y 200 S50M3 N211 Z110 N212 G91 G33 Z 70 E3 0 First thread cutting N213 M19 N214 G90 G0X 210 N215 Z110 M0 N216 X 200 M3 N217 G04 X2 0 N218 G91 G33 Z 70 Second thread cutting 6 8 Unidirectional Positioning G60 Function and purpose The G60 command can position the tool at a high degree of precision without backlash error by locating the final tool position from a single determined direction...

Page 74: ...ng its final advance will not be affected by mirror image 5 The tool moves to the end point at the dry run speed during dry run when the G0 dry run function is valid 6 Feed during creep distance movement with final positioning can be stopped by resetting emergency stop interlock feed hold and rapid traverse override zero The tool moves over the creep distance at the rapid traverse setting Rapid tr...

Page 75: ...mmed as the plane coordinates that is converted into the linear axis and rotation axis movement in the cylindrical coordinates and the contour is controlled during machining r B Z X Y As programming can be carried out with a shape with which the side on the cylinder is developed this is effective for machining cylindrical cams etc When programmed with the rotation axis and its orthogonal axis slit...

Page 76: ...ame is not C command the name of the rotation axis being used instead of C 1 The coordinates commanded in the interval from the start to cancellation of the cylindrical interpolation mode will be the cylindrical coordinate system G07 1 C Cylinder radius value Cylindrical interpolation mode start Cylindrical interpolation will start The coordinate commands in this interval will be the cylindrical c...

Page 77: ...mall Note that the error generated at this time is not cumulated 8 F command during cylindrical interpolation As for the F command in the cylindrical interpolation mode whether the previous F command is used or not depends on that the mode just before G07 1 is the feed per minute command G94 G98 or feed per rotation command G95 G99 a When G94 is commanded just before G07 1 If there is no F command...

Page 78: ...ram error P485 will occur Example Basic coordinate system X Y Z Cylindrical coordinate system C Y Z Rotation axis is X axis parallel axis 1029 Cylindrical coordinate system X C Z Rotation axis is Y axis parallel axis 1030 Cylindrical coordinate system X Y C Rotation axis is Z axis parallel axis 1031 G17 Y X G18 Z X G19 Y Z G18 Z C G18 C X G19 C Z G19 Y C G17 X C G17 C Y G19 Z0 C0 G07 1 C100 G07 1 ...

Page 79: ...cal interpolation or not 0 Do not keep 1 keep 0 1 Relation with other functions 1 The following G code commands can be used during the cylindrical interpolation mode G code Details G00 G01 G02 G03 G04 G09 G40 42 G61 G64 G65 G66 G66 1 G67 G80 89 G90 91 G94 G98 G99 Positioning Linear interpolation Circular interpolation CW Circular interpolation CWW Dwell Exact stop check Tool nose R compensation Ex...

Page 80: ...olation mode Program error G07 1 C0 b Complete the tool compensation movement movement of tool length and wear compensation amount before executing the cylindrical interpolation If the tool compensation movement is not completed when the cylindrical interpolation start command has been issued the followings will be resulted Machine coordinate is not changed even if G07 1 is executed The workpiece ...

Page 81: ...lindrical interpolation mode is canceled the mode will change to the cutting mode and the plane will return to that selected before cylindrical interpolation 5 The program of the block during the cylindrical interpolation cannot be restarted program restart 6 A program error P486 will occur if the cylindrical interpolation command is issued during the mirror image 7 When the cylindrical interpolat...

Page 82: ... interpolation start Cylindrical interpolation cancel Program N01 G28XZC N02 G97S100M23 N03 G00X50 Z0 N04 G94G01X40 F100 N05 G19C0Z0 N06 G07 1C20 N07 G41 N08 G01Z 10 C80 F150 N09 Z 25 C90 N10 Z 80 C225 N11 G03Z 75 C270 R55 N12 G01Z 25 N13 G02Z 20 C280 R80 N14 G01C360 N15 G40 N16 G07 1C0 N17 G01X50 N18 G0X100 Z100 N19 M25 N20 M30 Unit mm 50 100 150 200 250 300 350 20 40 60 80 C Z N09 N10 N11 N12 N1...

Page 83: ...ed as the coordinate system zero point during pole coordinate interpolation Linear axis X axis C axis Z axis Rotation axis hypothetical axis Polar coordinate interpolation plane G17 plane This is effective for cutting a notch section on a linear section of the workpiece diameter and for cutting cam shafts etc Command format G12 1 Pole coordinate interpolation mode start G13 1 Pole coordinate inter...

Page 84: ...terpolation plane orthogonal coordinate system with F The F unit is mm min or inch min 6 When the G12 1 command is issued the deceleration check is executed 7 Plane selection The linear axis and rotation axis used for pole coordinate interpolation must be set beforehand with the parameters a Determine the deemed plane for carrying out pole coordinate interpolation with the parameter 1533 for the l...

Page 85: ...celed will return to that applied before the pole coordinate interpolation mode was started When there is no F command in G12 1 Previous mode No F command After G13 1 is canceled G94 G98 Previous F is used G95 G99 Program error P62 F just before G12 1 is used When F is commanded in G12 1 Previous mode No F command After G07 1 is canceled G94 G98 Commanded F is used G95 G99 Commanded F is used 1 F ...

Page 86: ...tion axis hypothetical axis on the pole coordinate interpolation plane The axis address of the rotation axis C is commanded as the axis address for the plane s 2nd axis hypothetical axis command The command unit is not degree and instead is the same unit mm or inch as the command issued with the axis address for the plane s 1st axis linear axis b The hypothetical axis coordinate value will be set ...

Page 87: ...lar coordinate interpolation mode Program error G13 1 b Complete the tool compensation operation movement of tool length and wear compensation amount before executing the polar coordinate interpolation If the tool compensation operation is not completed when the polar coordinate interpolation start command has been issued the followings will be resulted Machine coordinate is not changed even if G1...

Page 88: ... coordinate system zero point Do not change the coordinate system during the pole coordinate interpolation mode G50 G52 G53 relative coordinate reset G54 to G59 etc 3 The feedrate during pole coordinate interpolation will be the interpolation speed on the pole coordinate interpolation plane orthogonal coordinate system The relative speed with the tool will be converted with pole coordinate convers...

Page 89: ... be moved to the area that does not include 0 before issuing the polar coordinate interpolation command Example of program Hypothetical C axis X axis Z axis C axis Hypothetical C axis C axis Tool X axis N01 N02 N11 N05 N04 N03 N10 N09 N08 N07 N06 Path after tool radius compensation Program path Program N01 G17 G90 G0 X40 0 C0 Z0 N02 G12 1 N03 G1 G42 X20 0 F2000 N04 C10 0 N05 G3 X10 0 C20 0 R10 0 N...

Page 90: ...r interpolation between the linear axis This allows a machining of a taper groove with constant torsion angle helix angle uniform helix machining of taper shape This function can be used for slotting or grinding a tool for use in an end mill etc Uniform helix machining of taper shape Linear axis Torsion angle J1 J2 J3 A axis Rotation axis Z axis X axis J1 J2 J3 G02 3 G03 3 G00 G01 G01 Relation of ...

Page 91: ...nd unit is as follows Setting unit 1003 B 1003 C 1003 D 1003 E Unit 0 001 0 0001 0 00001 0 000001 The command range is 89 to 89 A program error P33 will occur if there is no address I or J command A program error P35 will occur if the address I or J command value is 0 Note 3 The command unit is as follows Setting unit 1003 B 1003 C 1003 D 1003 E Unit Metric system 0 001 0 0001 0 00001 0 000001 mm ...

Page 92: ... initial feedrate address F command The start point and end point feedrates will be the same A program error P35 will occur if the address Q command value is 0 Example of uniform helix machining of taper shape i1 j1 x1 x0 r1 Z axis Z axis A axis Linear axis X axis rotation axis A axis linear axis X axis start point x0 X axis Relational expression of exponential function The exponential function re...

Page 93: ... End point of Z axis axis that linearly interpolates between interval with linear axis X axis address Z command z0 Start point of Z axis axis that linearly interpolates between interval with linear axis X axis i1 Taper gradient angle address I command p1 Slot base gradient angle j1 Torsion angle helix angle address J command ω Torsion direction 0 Forward rotation 1 reverse direction θ Workpiece ro...

Page 94: ...Operation X A X A X A X A Machining program example N10 G28XYZC N20 G91G0 X100 Z100 N30 G2 3 X100 Z100 I50 J80 R105 F500 N40 M30 N10 G28XYZC N20 G91G0 X100 Z200 N30 G2 3 X100 Z 100 I 50 J80 R105 F500 N40 M30 N10 G28XYZC N20 G91G0 X 100 Z100 N30 G2 3 X 100 Z100 I50 J80 R105 F500 N40 M30 N10 G28XYZC N20 G91G0 X 100 Z200 N30 G2 3 X 100 Z 100 I 50 J80 R105 F500 N40 M30 G3 3 Equivalent to G2 3 if j1 0 ...

Page 95: ...ation A program error will occur only when the compensation starts at the same time as the movement by exponential function interpolation The tool length compensation will operate normally if it has started before the G02 3 G03 3 mode starts Tool radius compensation High speed high accuracy control High speed machining Scaling Tool length compensation along tool axis Figure rotation Coordinate rot...

Page 96: ...ter x1 1st axis for the plane The radius commanded y1 2nd axis for the plane The angle commanded For G90 G17 X Y plane Commanded position Present position y1 x1 X Y Plus Minus G15 Polar coordinate command mode OFF 2 The plane selection during the polar coordinate command mode is carried out with G17 G18 and G19 3 The polar coordinate command is a modal The polar coordinate command mode when the po...

Page 97: ...lar coordinate center The zero point in the workpiece coordinate system is applied to the polar coordinate center by commanding the radius with the absolute value Note that the zero point in the local coordinate system is applied to the polar coordinate center if the local coordinate system G52 is used When the angle is the absolute value command When the angle is the incremental value command Com...

Page 98: ...Command position when the radius command is omitted 4 When the angle command is omitted When the angle command is omitted the angle of the present position in the workpiece coordinate system is applied to the angle command The zero point in the workpiece coordinate system is applied to the polar coordinate center by commanding the radius with the absolute value Note that the zero point in the loca...

Page 99: ...nput G10 Local coordinate system setting G52 Machine coordinate system setting G92 Machine coordinate system selection G53 Coordinate rotation by program G68 1 Scaling G51 G command mirror image G51 1 Reference position check G27 Reference position return G28 Start position return G29 2nd to 4th reference position return G30 Tool change position return 1 G30 1 Tool change position return 2 G30 2 T...

Page 100: ...on The polar coordinate zero point is the zero point in the workpiece coordinate system N2 G85 X200 Y30 Z 20 F200 Radius 200mm angle 30 N3 Y120 Radius 200mm angle 120 N4 Y270 Radius 200mm angle 270 N5 G15 G80 Polar coordinate command cancel 2 When the radius is the absolute value command and the angle is the incremental value command N1 G17 G90 G16 Polar coordinate command X Y plane selection The ...

Page 101: ...10000 Spline G05 1 Q2 2 When the mirror image G code parameter external signal is canceled anywhere except at the mirror image center during the polar coordinate command mode the absolute value and machine position will deviate The mirror center is set with an absolute value and so if another mirror center is assigned in this state the center may be set at an unforeseen position Cancel the mirror ...

Page 102: ...polation operations are carried out at the f1 speed by the commands above The path is toward the end point following a spiral arc path centered at the position designated by distance i X axis direction and distance j Y axis direction in respect to the start point 1 The arc plane is designated by G17 G18 and G19 Common for type 1 and 2 G17 XY plane G18 ZX plane G19 YZ plane 2 The arc rotation direc...

Page 103: ... 99 Number of rotations L1 Less than 1 rotation L2 1 or more rotation less than 2 rotations Ln n 1 or more rotations less than n rotations Q takes precedence over L if both Q and L have been designated at the same time 8 K designates the increment decrement amount of height per spiral rotation in conical interpolation Type 2 The increment decrement amount of height is designated with I J K for the...

Page 104: ...occur Feedrate Range of speed command mm min inch mi n Decimal point command is possible If a value exceeding the command range is issued a program error P35 will occur b Items for type 2 only Settings Command range Unit Error Increment decrement amount of radius Range of coordinate command mm inch Decimal point command is possible If the sign of designated increment decrement amount is opposite f...

Page 105: ...e 5 The axis combination that can be simultaneously commanded depends on the specifications The combination within that range is random 6 The feedrate is the constant tangential speed 7 Simultaneous control by combining with tool radius compensation G41 G42 is not possible 8 The arc plane always follows G17 G18 and G19 The plane arc control is carried out by G17 G18 and G19 even if designated by t...

Page 106: ...s truncated cone interpolation G17 G91 G02 1 X100 Z150 I150 P3 F500 XY plane XZ plane X X X Z Z Y W W Relation with other functions 1 Items common for type 1 and 2 The start point and end point are not on the same arc so normal line control is not applied correctly If there is no center command when geometric is valid a program error P33 will occur 2 Items for type 2 only If the spiral interpolati...

Page 107: ...nt current position and end point By using the 3 dimensional circular interpolation command an arc shape determined by the three points start point intermediate point end point designated on the 3 dimensional space can be machined An option is required to validate this function If the option is not provided and the 3 dimensional circular interpolation command is issued a program error P39 will occ...

Page 108: ... the 1st block become the start point coordinates and the end point coordinates omitted in the 2nd block become the intermediate point coordinates When using the 3 dimensional circular interpolation command an arbitrary axis can be commanded in addition to the orthogonal coordinate system X Y Z used as the reference The arbitrary axis designated in the intermediate point designating block 1st bloc...

Page 109: ...mmand Refer to When liner interpolation is applied Thus a true circle 360 degree rotation cannot be designated in the 3 dimensional circular interpolation In addition designate that an intermediate point is located in the middle of a start point and an end point If the intermediate point is near the start point or the end point arc accuracy may fall Designation of arc in 3 dimensional space Start ...

Page 110: ...een the start point and intermediate point move in the order of start point intermediate point and end point Modal command The 3 dimensional circular interpolation command G02 4 G03 4 is a modal command belonging to 01 group The command will remain valid until the other G command in the 01 group is issued When the 3 dimensional circular interpolation command is carried out continuously the end poi...

Page 111: ... P921 G73 G74 G76 G81 G82 G83 G84 G85 G86 G87 G88 G89 Fixed cycle P75 b G code command which leads to a program error when 3 dimensional circular interpolation is commanded G code modal Function name Program error G05 Pn High speed machining mode P34 G05 P10000 High speed high accuracy control II P34 G05 1 Q1 High speed high accuracy control I P34 G07 1 Cylindrical interpolation P481 G12 1 Polar c...

Page 112: ...l II mode ON NURBS interpolation ON Kk2 Xx2 Yy2 Zz2 Rr2 Kk3 Xx3 Yy3 Zz3 Rr3 Kk4 Xx4 Yy4 Zz4 Rr4 Kkn Xxn Yyn Zzn Rrn Kkn 1 Kkn 2 Kkn 3 Kkn 4 NURBS interpolation OFF G05 P0 High speed high accuracy control II mode OFF G05 P10000 G06 2 Qq Pp High speed high accuracy control II mode NURBS interpolation Set the stage of the NURBS curve Designate in the same block as G06 2 command The NURBS curve of the...

Page 113: ...r knot K from the 1st block of NURBS interpolation to setting value block of the stage P 5 Command knot K exclusive block of the same number as the setting value of the stage P for terminating NURBS interpolation At this time set the same value for knot K setting x3 y3 z3 x4 y4 z4 xn yn zn Passes through control point NURBS interpolation curve x1 y1 z1 x2 y2 z2 Note If an exclusive knot is command...

Page 114: ...P10000 G90 G01 X0 Y0 Z0 F300 G06 2 P4 X0 Y0 R1 K0 P0 X1 0 Y2 0 R1 K0 P1 X2 5 Y3 5 R1 K0 P2 X4 4 Y4 0 R1 K0 P3 X6 0 Y0 5 R1 K1 P4 X8 0 Y0 0 R1 K2 P5 X9 5 Y0 5 R1 K3 P6 X11 0 Y2 0 R1 K4 P7 X10 5 Y4 5 R1 K5 P8 X8 0 Y6 5 R1 K6 P9 X9 5 Y8 0 R1 K7 P10 K8 K8 K8 K8 G05 P0 0 1 2 3 4 5 6 7 8 9 0 2 4 6 8 10 12 P0 0 0 0 0 P1 1 0 2 0 P2 2 5 3 5 P3 4 4 4 0 P4 6 0 0 5 P5 8 0 0 0 P6 9 5 0 5 P9 8 0 6 5 P10 9 5 8 0...

Page 115: ...d Note 1 Feed hold Valid Reset Valid Note 2 Program stop Invalid Optional stop Invalid Manual interruption Invalid Note 3 MDI interruption Invalid Restart search Invalid Macro interruption Invalid Note 4 PLC interruption Invalid Note 5 Note 1 A single block stop is carried out at only the last control points The single block stop is not applied during NURBS interpolation Note 2 NURBS interpolation...

Page 116: ...nded after the decimal point a program error P33 will occur 7 As with knot command the same or greater value than the previous block If a smaller value than previous block is set a program error P551 will occur 8 NURBS interpolation cannot be applied during graphic check continuous step check Linear interpolation that connects the control points is applied during graphic check 9 NURBS interpolatio...

Page 117: ...is or SIN or COS interpolation will be possible Normal helical interpolation 0 5 10 5 10 20 40 10 0 X axis Y axis Z axis X axis Helical interpolation in the hypothetical axis interpolation mode 0 5 10 5 10 20 40 10 0 X axis Hypothetical axis Y axis in this example does not move actually X axis Y axis Z axis To perform the SIN interpolation on Z X plane execute the helical interpolation Y X plane G...

Page 118: ...cal axis interpolation are helical interpolation and spiral interpolation 2 Cancel the hypothetical axis interpolation before the high speed high accuracy control 2 G05P10000 is commanded 3 The hypothetical axis interpolation is valid only in the automatic operation It is invalid in the manual operation mode Handle interruption is valid even for the hypothetical axis that is axis will move by the ...

Page 119: ... control mode rapid traverse rate is effective for the G00 G27 G28 G29 G30 and G60 commands Override can be applied on the high accuracy control mode rapid traverse rate using the external signal supplied 7 2 Cutting Feedrate Function and purpose The cutting feedrate is assigned with address F and 8 digits F8 digit direct designation The F8 digits are assigned with a decimal point for a 5 digit in...

Page 120: ... increase and means reduction K Operation constant This is the number of FM divisions and is the calculated constant of the increment decrement speed per scale of the manual handle pulse generator This is set with the base specification parameter 1507 F1_K FM This is the clamp speed of F1 to F5 This is set with the base specification parameter 1506 F1_FM Set the corresponding speed of F1 to F5 wit...

Page 121: ...d in same block as F1 digit commands Executed feedrate Modal display rate G modal G0F0 F0G0 Rapid traverse rate 0 G0 G0F1 F1G0 Rapid traverse rate 1 G0 G1F0 F0G1 Rapid traverse rate 0 G1 G1F1 F1G1 F1 contents 1 G1 b F1 digit and unmodal commands may be assigned in the same block In this case the unmodal command is executed and at the same time the F1 digit modal command is updated 4 Example of ari...

Page 122: ... code command range is as follows The movement amount per spindle revolution with synchronous feed per revolution feed is assigned by the F code and the command range is as shown in the table below Metric input Input command unit system B 0 001mm C 0 0001mm Command mode Feed per minute Feed per rotation Feed per minute Feed per rotation Command address F mm min E mm rev F mm min E mm rev Minimum c...

Page 123: ... in the following formula Formula 1 FC F N OVR Formula 1 Where FC Effective rate mm min inch min F Commanded feedrate mm rev inch rev N Spindle speed r min OVR Cutting feed override When a multiple number of axes have been commanded at the same time the effective rate FC in formula 1 applies in the vector direction of the command Note 1 The effective rate mm min or inch min which is produced by co...

Page 124: ...hining time exceeds the cutting feed clamp speed the F command value in the inverse time feed follows the cutting feed clamp speed Regular F command Actual machining speed Large Small F command The speed of tool center is commanded thus the actual speed at the cutting surface may become larger or smaller Inverse time feed Same F command The actual speed at the cutting surface is commanded thus the...

Page 125: ...rt is G94 feed per minute or G95 feed per revolution 4 The feedrate of the block inserted in tool radius compensation and corner R C is the same speed as the feedrate of the block immediately before it 5 The feedrate of the block inserted in C axis normal line control normal line control type II is the same speed as the feedrate of the movement block after turning Precautions 1 The initial modal a...

Page 126: ...05 G03 Y 480 R100 F5 N06 G02 Y 680 R100 F5 N07 G94 G01 X80 F500 N08 Y 80 N09 G04 X80 Y 80 N10 M02 Inverse time feed Fig 3 N4 N6 N5 Comparison between feed per minute and inverse time feed Assuming that tool radius is 10 mm Unit mm min Feed per minute Inverse time feed Location Sequence No Feedrate of tool center Feedrate of cutting point Feedrate of tool center Feedrate of cutting point N04 F500 F...

Page 127: ...ode High speed machining mode will be valid when the inverse time feed mode is canceled 3 If the speed calculated in the G93 mode exceeds the speed range at the feed per minute clamping is performed at the clamp speed set with parameters 4 The program error P125 will occur when the commands below are issued in the inverse time feed G93 mode G code Function G02 3 G03 3 Exponential interpolation G06...

Page 128: ...ach axis but assigned as a single value Therefore when two or more axes are to be controlled simultaneously it is necessary to understand how this will work for each of the axes involved The assignment of the feedrate is described with the following related items When controlling linear axes Even when only one machine axis is to be controlled or there are two or more axes to be controlled simultan...

Page 129: ...tary axes are to be controlled the designated feedrate functions as the rotary speed of the rotary axes or in other words as an angular speed Consequently the cutting feed in the tool advance direction or in other words the linear speed varies according to the distance between the center of rotation and the tool This distance must be borne in mind when designating the feedrate in the program Examp...

Page 130: ...he numerical values assigned by F will be the same as previously described When controlling linear axes However although in this case both the size and direction of the speed components based on linear axis control do not vary the direction of the speed components based on rotary axis control will change along with the tool movement their size will not change This means as a result that the combin...

Page 131: ... center of rotation and tool in mm units and θ is the angle between the P1 point and the X axis at the center of rotation in units The combined speed ft according to 1 2 3 4 and 5 is ft ftx 2 fty 2 f x2 x c rsin π 180 θ π 90 π r c 180 2 x2 c2 6 Consequently feedrate f designated by the program must be as follows f ft x2 c2 x2 x c rsin π 180 θ π 90 π r c 180 2 7 ft in formula 6 is the speed at the ...

Page 132: ...linear acceleration and linear deceleration 2 The acceleration deceleration patterns in the case where rapid traverse constant inclination acceleration deceleration are performed are as follows When the interpolation distance is longer than the acceleration and deceleration distance θ L T s T s T d T Next block rapid rapid Rapid traverse rate Ts Acceleration deceleration time constant Td Command d...

Page 133: ...interpolation distance respectively Consequently linear interpolation is performed even when the axes have different acceleration and deceleration time constants 2 axis simultaneous interpolation When linear interpolation is used Tsx Tsz and Lx Lz θx Tsx Tsx Tdx Lx Tx Next block X axis Tsz Lz Tz Z axis rapid X rapid Z θZ Tsz Tdz Next block When Tsz is greater than Tsx Tdz is also greater than Tdx ...

Page 134: ... Rotation speed r min 0 25 100 125 75 Torque N m 50 2000 3000 Note This characteristic is data at input voltage 380VAC In the rapid traverse constant inclination acceleration deceleration method the acceleration has been treated constantly because this torque characteristic is not considered So It is necessary to use a minimum acceleration within the used speed range Therefore the margin of accele...

Page 135: ... besides 1st part system Y51 parameter error 17 will occur b When there is no specification for the rapid traverse constant inclination acceleration deceleration 2 cannot be set to parameter 1205 G0bdcc Even if the parameter is set to 2 this function is invalid A normal time constant acceleration deceleration acceleration deceleration after interpolation is applied c Even if 2 is set to 1205 G0bdc...

Page 136: ...rates as rapid traverse constant inclination acceleration deceleration For the axis which the rapid traverse constant inclination multi step acceleration deceleration is not necessary for set 0 to 2151 rated_spd 2152 acc_rate and 2153 G0t_rated a When 2151 rated_spd rated speed is 0 or larger than 2001 rapid rapid traverse b When 2152 acc_rate Acceleration rate in proportion to the maximum acceler...

Page 137: ...eration acceleration deceleration before interpolation 0 2 Constant inclination multi step acceleration deceleration ON 1 Arbitrary Time constant acceleration deceleration non interpolation type 0 Time constant acceleration deceleration interpolation type 1 Constant inclination acceleration deceleration acceleration deceleration before interpolation 0 2 Time constant acceleration deceleration inte...

Page 138: ...eration per step Therefore the number of steps is decided as follows Step 100 2152 acc_rate 10 1 Discard fractions less than 1 The acceleration deceleration pattern when the parameter setting value is as follows is shown below No Item Setting value 2001 rapid Rapid traverse rate 36000 mm min 2151 rated_spd Rated speed 16800 mm min 2152 acc_rate Acceleration rate in proportion to the maximum accele...

Page 139: ...step acceleration deceleration are valid only for an interpolation type For the interpolation type the acceleration pattern operates to the maximum acceleration within the range where tolerable acceleration of each axis is not exceeded a Acceleration pattern of X axis independently b Acceleration pattern of Y axis independently Start point End point X Y 4 3 5 Acceleration Speed ay vy Acceleration ...

Page 140: ...he high accuracy control mode The high accuracy control mode s rapid traverse rate 2109 Rapid H precision can be set besides rapid traverse rate 2001 rapid during high accuracy control high speed high accuracy control I II or high accuracy spline control Operation when the value is set at the high accuracy control mode s rapid traverse rate is as follows 1 When The high accuracy control mode rapid...

Page 141: ...tions 1 Rapid traverse constant inclination multi step acceleration deceleration are valid only for a rapid traverse command Note that when the manual rapid traverse rapid traverse constant inclination multi step acceleration deceleration cannot be used In this case a time constant acceleration deceleration acceleration deceleration after interpolation is applied So acceleration deceleration is de...

Page 142: ... acceleration deceleration acceleration deceleration after interpolation is applied 4 When G00 non interpolation type 1086 G00Intp 1 rapid traverse constant inclination multi step acceleration deceleration cannot be used It is valid at interpolation mode only 5 When the rapid traverse constant inclination multi step acceleration deceleration is applied rapid traverse acceleration deceleration type...

Page 143: ...cted with parameter 1193 inpos In position check is valid when 1193 inpos is set to 1 The in position width is set with parameter 2224 SV024 on the servo parameter screen by the machine manufacturer Command format G09 The exact stop check command G09 has an effect only with the cutting command G01 G03 in its particular block Example of program N001 G09 G01 X100 000 F150 The following block is star...

Page 144: ...n deceleration time constant Lc In position width As shown in Fig 3 the remaining distance shaded area in Fig 3 of the previous block when the next block is started can be set into the servo parameter 2224 SV024 as the in position width Lc The in position width is designed to reduce the roundness at the workpiece corners to below the constant value Lc Next block Previous block To eliminate corner ...

Page 145: ...ith exponential acceleration linear deceleration 2 x Ts Td Ts Previous block Next block Ts Acceleration deceleration time constant Td Deceleration check time Td 2 Ts 0 14ms The time required for the deceleration check during cutting feed is the longest among the cutting feed deceleration check times of each axis determined by the cutting feed acceleration deceleration time constants and by the cut...

Page 146: ...n Check Function and purpose The deceleration check is a function that determines the method of the check at the completion of the axis movement block s movement The deceleration check includes the in position check and commanded speed check method The G0 and G1 deceleration check method combination can be selected Refer to section Deceleration check combination With this function the deceleration...

Page 147: ...than rapid traverse command G1 other than G0 command inpos 1193 G0 XX G0 G9 XX AUX07 BIT 1 1223 BIT 1 G1 G9 XX G0 XX 0 Command deceleration check 0 Command deceleration check 1 In position check 1 In position check No deceleration check Note 1 XX expresses all commands Note 2 1223 aux07 is the part system common parameter b Deceleration check specification type 2 1306 InpsTyp 1 Rapid traverse and ...

Page 148: ...he program above 2 G91 G1 X100 Y 100 F4000 G0 X80 Y100 A deceleration check is carried out because the Y axis moves in the reverse direction in the program above 3 G90 G1 X100 Y100 F4000 G0 X80 Y120 A deceleration check is carried out because the X axis moves in the reverse direction in the program above When the program start position is X0 Y0 4 G91 G1 X100 Y100 F4000 G0 X100 Y100 A deceleration ...

Page 149: ...he program above 2 G91 G1 X100 Y 100 F4000 G1 X80 Y100 A deceleration check is carried out because the Y axis moves in the reverse direction in the program above 3 G90 G1 X100 Y100 F4000 G1 X80 Y120 A deceleration check is carried out because the X axis moves in the reverse direction in the program above When the program start position is X0 Y0 4 G91 G1 X100 Y100 F4000 G1 X100 Y100 A deceleration ...

Page 150: ...ed This function is always valid in the tool radius compensation G41 G42 Machining inside corners When cutting an inside corner as in Fig 1 the machining allowance amount increases and a greater load is applied to the tool To remedy this override is applied automatically within the corner set range the feedrate is reduced the increase in the load is reduced and cutting is performed effectively How...

Page 151: ...r is automatically applied in the deceleration range Ci 2 Parameter setting The following parameters are set into the machining parameters Parameter Setting range 8007 OVERRIDE 0 to 100 8008 MAX ANGLE 0 to 180 8009 DSC ZONE 0 to 99999 999mm or 0 to 3937 000 inches Refer to the Instruction Manual for details on the setting method Automatic corner R Workpiece Programmed path Machining allowance Work...

Page 152: ... θ Ci The override set in the parameter is applied at Ci 3 Arc inside compensation line corner Tool Program θ Ci Tool Tool center The override set in the parameter is applied at Ci Note The deceleration range Ci where the override is applied is the length of the arc with an arc command 4 Arc inside compensation arc outside compensation corner Program Tool center θ N1 Ci N2 The override set in the ...

Page 153: ...s not canceled by override cancel Speed clamp Valid after automatic corner override Dry run Automatic corner override is invalid Synchronous feed Automatic corner override is applied to the synchronous feedrate Thread cutting Automatic corner override is invalid G31 skip Program error results with G31 command during tool radius compensation Machine lock Valid Machine lock high speed Automatic corn...

Page 154: ...l center 4 Automatic corner override will not be applied on a corner where the tool radius compensation I K vector command is issued Block containing I K vector command Program Tool center Automatic corner override will not be applied G41X_Z_I_K_ 5 Automatic corner override will not be applied when intersection calculation cannot be executed Intersection calculation cannot be executed in the follo...

Page 155: ...e exact stop check mode G61 high accuracy control mode G61 1 or cutting mode G64 Command format G63 7 14 Cutting Mode G64 Function and purpose The G64 command allows the cutting mode in which smooth cutting surfaces are obtained to be established Unlike the exact stop check mode G61 the next block is executed continuously with the machine not decelerating and stopping between cutting feed blocks i...

Page 156: ...n the decimal point command is valid or invalid the dwell time command range is as follows Command range when the decimal point command is valid Command range when the decimal point command is invalid 0 99999 999 s 0 99999999 ms 4 The dwell time setting unit applied when there is no decimal point can be made 1s by setting 1 in the parameter 1078 Decpt2 This is effect only for X and P for which the...

Page 157: ...2 12 345 G04 P 100 1 1000 1 1000 Note 1 The above examples are the results under the following conditions Input setting unit 0 001mm or 0 0001inch 100 1000 Note 2 DECIMAL PNT P is a control parameter 8112 Note 3 If the input setting unit is 0 0001inch the X before G04 will be multiplied by 10 For example for X5 G04 the dwell time will be 50 sec Precautions and restrictions 1 When using this functi...

Page 158: ...e manufacturer for the actual correspondence between the functions and numerical values When the M00 M01 M02 and M30 functions are used the next block is not read into the pre read buffer due to pre read inhibiting If the M function is designated in the same block as a movement command the commands may be executed in either of the following two orders Which of these sequences actually applies depe...

Page 159: ...n display counter are not cleared by this reset action the modal commands and compensation amounts are canceled The next operation stops when the rewinding operation is completed the in automatic operation lamp goes off To restart the unit the automatic start button must be pressed or similar steps must be taken When the program is restarted after M02 and M30 are completed if the first movement co...

Page 160: ...ither of the following two orders The machine specifications determine which sequence applies 1 The A B or C function is executed after the movement command 2 The A B or C function is executed simultaneously with the movement command Processing and completion sequences are required for all secondary miscellaneous functions The table below given the various address combinations It is not possible t...

Page 161: ...t was designated as the index axis with parameter 2076 index x 1 Set the index_x parameter 2076 for the axis in which index table indexing will be carried out to 1 2 The movement command either absolute or incremental for the selected axis is executed with the program command 3 An unclamp process are carried out before the axis movement 4 The commanded axis movement starts after the unclamp proces...

Page 162: ...ion axes but this function performs an unclamp process even for linear axes 5 If some error that makes unclamp command OFF occurs during indexing axis movement in automatic operation the unclamp state will be remained and the indexing axis will execute a deceleration stop Other axes commanded in the same block will also execute a deceleration stop except for non interpolation commands 6 If the axi...

Page 163: ...the S command is being executed the voltage will be obtained from the set speed at that gear step and the previously commanded speed and then will be output The analog signal specifications are given below 1 Output voltage 0 to 10V 2 Resolution 1 4096 2 12 3 Load conditions 10kΩ 4 Output impedance 220Ω If the parameters for up to 4 gear stages are set in advance the gear stage corresponding to the...

Page 164: ...e speed control axis G97 Constant surface speed cancel Detailed description 1 The constant surface speed control axis is set by parameter 1181 G96_ax 0 Fixed at 1st axis P command invalid 1 1st axis 2 2nd axis 3 3rd axis 2 When the above mentioned parameter is not zero the constant surface speed control axis can be assigned by address P Example G96_ax 1 Program Constant surface speed control axis ...

Page 165: ...surface speed is canceled Note1 G92S command and speed clamp operation Sclamp 0 Sclamp 1 aux11 bit5 0 aux11 bit5 1 aux11 bit5 0 aux11 bit5 1 In G96 SPEED CLAMP COMMAND SPEED CLAMP COMMAND Command In G97 SPINDLE SPEED COMMAND SPEED CLAMP COMMAND In G96 SPEED CLAMP EXECUTION SPEED CLAMP EXECUTION Operation In G97 NO SPEED CLAMP SPEED CLAMP EXECUTION NO SPEED CLAMP Note2 The address Q following the G...

Page 166: ...ol The C axis coordinate position counter is held during spindle control and is updated for the amount moved during spindle control when the C axis servo READY is turned ON The C axis position at servo ON may differ from the position just before the previous servo OFF 2 Changeover timing chart example 2 Reference position return complete status Blocks being calculated Recalculation request Blocks ...

Page 167: ...n Cutting stop gain Cutting gain G1 G1 G1 G0 G0 G1 G0 G0 Note 1 The cutting feed of other part systems does not affect the C axis gain selection Note 2 There are 1st to 3rd cutting gains which are selected with the ladder 4 Deceleration check in movement including spindle C axis The deceleration check in a movement command including the spindle C axis is as the table described below when the follo...

Page 168: ...f 1 2 The program error P430 will occur if a C axis command is issued during servo OFF or during orientation 3 Do not execute a servo OFF during a C axis command The remaining C axis commands will be cleared at servo ON If servo OFF is executed during C axis control the feed will stop and spindle control will occur 4 If servo ON is executed during spindle rotation the rotation will stop and C axis...

Page 169: ...d to control the sub spindle in a machine tool that has a main spindle 1st spindle and a sub spindle 2nd spindle to 4th spindle Multiple spindle control II ext36 bit0 1 Control following the external signal spindle command selection signal spindle selection signal and spindle control command S only etc The spindle selection command S cannot be used ...

Page 170: ... OFF maintains the speed at which it was rotating at before being canceled This allows each axis to be simultaneously rotated at differing rotation speeds The spindle command selection signal is used to determine which part system each spindle receives the S command from S command 2 S command 1 Y18A8 Y1894 Y1908 Y1968 Y19C8 1st spindle R6500 6501 R6550 6551 Y18F4 2nd spindle Y1954 3rd spindle R660...

Page 171: ... operation error 1026 will occur When the C axis command is canceled the error will be canceled and machining will resume If a polygon machining command is issued to the synchronous tap spindle the M01 operation error 1026 will occur When the polygon machining command is canceled the error will be canceled and machining will resume 5 Asynchronous tap The asynchronous tap spindle is selected with t...

Page 172: ...g the address T and one set can be commanded in one block The output signal is an 8 digit BCD signal and start signal If the T function is designated in the same block as a movement command the commands may be executed in either of the following two orders The machine specifications determine which sequence applies 1 The T function is executed after the movement command 2 The T function is execute...

Page 173: ...nction includes the tool length compensation and tool radius compensation Each compensation amount is designated with the tool compensation No Each compensation amount is input from the setting and display unit or the program Side view Reference position Tool length Tool length compensation Right compensation Left compensation Plane view Tool radius compensation ...

Page 174: ...n amount settings are preset with the setting and display unit Type 1 is selected when parameter 1037 cmdtyp is set to 1 and type 2 is selected when set to 2 Type of tool compensation memory Classification of length compensation radius compensation Classification of shape compensation wear compensation Type 1 Not applied Not applied Type 2 Applied Applied Reference Reference tool Shape Tool length...

Page 175: ...unt shape compensation related to the tool radius and the wear compensation amount can be set independently for one compensation No as shown below The tool length compensation amount is set with H and the tool radius compensation amount with D H1 b1 c1 D1 d1 e1 H2 b2 c2 D2 d2 e2 Hn bn cn Dn dn en Tool length H Tool radius D Position compensation Compe nsation No Shape compensation amount Wear comp...

Page 176: ...be used will differ according to the machine For 40 sets Designate with the H01 to H40 D01 to D40 numbers 5 If a value larger than this is set the program error P170 will occur 6 The setting value ranges are as follows for each No The compensation amount for each compensation No is preset with the setting and display unit Shape compensation amount Wear compensation amount Setting Metric system Inc...

Page 177: ...ensation cancel command is issued Z axis move ment amount G43 Zz Hn1 z lh1 Compensation in direction by tool compensation amount G43 Zz Hh1 z lh1 Compensation in direction by tool compensation amount G44 Zz z lh1 Compensation amount cancel Note lh1 Compensation amount for compensation No h1 Regardless of the absolute value command or incremental value command the actual end point will be the point...

Page 178: ... Shape compensation amount lh1 Wear compensation amount Wear compensation b The valid range of the compensation No will differ according to the specifications No of compensation sets c If the commanded compensation No exceeds the specification range the program error P170 will occur d Tool length cancel will be applied when H0 is designated e The compensation No commanded in the same block as G43 ...

Page 179: ...for the rotary axis set the rotary axis name for one of the parallel axes c If H compensation No is not designated in the same block as G43 the Z axis will be valid Example 6 G43 Hh1 Compensation and cancel to X axis 44 4 Movement during other commands in tool length compensation modal a If reference position return is executed with G28 and manual operation the tool length compensation will be can...

Page 180: ...se generator when the tool length compensation amount in the tool axis direction is being changed during the tool length compensation in the tool axis direction mode 2 Machine configuration The compensation using the tool length compensation in the tool axis direction function is applied to the direction of the tool tip axis rotary axis As for the axes that determine the compensation direction a c...

Page 181: ...been met the handle movement amount is added to the tool length compensation amount in the tool axis direction by rotating the manual pulse generator When the operation mode is MDI memory or tape operation mode and the state is during single block stop during feed hold or during cutting feed movement Note that compensation amount cannot be changed during error or warning During tool length compens...

Page 182: ...tion of tool axis cancel G44 the compensation amount will be returned to the original Tool length compensation in the tool axis direction vector The vectors representing the tool length compensation in the tool axis direction are as follows 1 When the A and C axes are set as the rotary axes Vx L sin A sin C Vy L sin A cos C Vz L cos A 2 When the B and C axes are set as the rotary axes Vx L sin B c...

Page 183: ...isters R2628 to R2631 are used for the rotation angles of the A B and C axes Compensation amount resetting Tool length compensation in the tool axis direction is cleared in the following cases 1 When manual reference position return is completed 2 When reset 1 reset 2 or reset rewind has been executed 3 When the G44 command has been designated 4 When the compensation No 0 command has been executed...

Page 184: ...am N01 G91 G28 X0 Y0 Z0 Compensation amount H01 50 mm N02 G28 B0 C0 N03 G90 G54 G00 X400 Y0 N04 Z 150 N05 B90 B axis 90 degrees N06 G18 N07 G43 1 X250 H01 Tool length compensation in the tool axis direction ON N08 G01 Z0 F200 N09 G02 X0 Z250 I 250 K0 B0 Top right arc B axis 0 degrees N10 G02 X 250 Z0 I0 K 250 B 90 Bottom right arc B axis 90 degrees N11 G01 Z 150 N12 G00 G44 X 400 Tool length compe...

Page 185: ...ol length compensation in the tool axis direction 3 Relation with manual reference position return a Reference position return for the orthogonal axis Tool length compensation in the tool axis direction will be canceled as well as the dog type reference position return and the high speed reference position return Y axis Manual reference position return N1G90G00G54X0Y0Z0 Positioning to the workpiec...

Page 186: ...he rotary axis by 45 N3G43 1H1 Tool length compensation in the tool axis direction ON N4G19G03Y 5 858Z 14 142J14 142K 14 142A90 Circular cutting Manual dog type reference position return N5G00Y0 N6Z0 Z Y M N2 45 N3 W N3 N4 90 Manual dog type reference position return Movement after A axis Manual reference position return N5 N6 Z M Y W N5G00Y0 Positioning to the position where tool length compensat...

Page 187: ...ctor G39X__Y__ Corner changeover Can be commanded only during the radius compensation mode Detailed description The No of compensation sets will differ according to the machine model The No of sets is the total of the tool length offset tool position offset and tool radius compensation sets The H command is ignored during the tool radius compensation and only the D command is valid The compensatio...

Page 188: ...l mode 1 The movement command is issued after G41 or G42 2 The tool radius compensation offset No is 0 D max offset No 3 The movement command of positioning G00 or linear interpolation G01 is issued At the start of compensation the operation is executed after at least three movement command blocks if three movement command blocks are not available after five movement command blocks have been read ...

Page 189: ...ear Linear Circular Start point 2 For outer side of corner obtuse angle 90 0 180 r Compensation amount Tool center path Program path Start point Center of circular Linear Linear Type A G41 s θ G41 r s θ G41 r r s θ r r s θ Start point Tool center path Program path Tool center path Center of circular Start point Point of intersection G41 Tool center path Program path Linear Circular Type A Linear L...

Page 190: ...r path Program path Center of circular Linear Circular Type A r r s θ Tool center path Program path Start point G41 Linear Linear Type B r r s θ G41 Start point Center of circular Tool center path Program path Linear Circular Type B Linear Linear Type A Note If there is axis movement command in the same block as G41 or G42 compensation is performed perpendicularly to the next block s direction ...

Page 191: ...more blocks not accompanying movement are commanded continuously in the compensation mode overcutting or undercutting will result When the M00 command has been issued during tool radius compensation pre reading is prohibited 1 Machining an outer wall Tool center path Program path Point of intersection Linear Linear 90 θ 180 s θ Linear Linear 0 θ 90 r r s θ Tool center path Program path Center of c...

Page 192: ...ar 0 θ 90 r r s θ Circular Linear 90 θ 180 r r s θ Program path Center of circular Program path Tool center path Tool center path Program path Point of intersection Center of circular Circular Circular 90 θ 180 r r s Circular Circular 0 θ 90 r r s Center of circular Center of circular Center of circular Tool center path Program path θ θ ...

Page 193: ...ool center path Program path Tool center path Program path Point of intersection Center of circular Tool center path Program path Point of intersection Center of circular Tool center path Program path Center of circular Point of intersection Tool center path Program path Center of circular Point of intersection Tool center path Program path Point of intersection Center of circular Circular Linear ...

Page 194: ...A and B may cease to exist due to the offset amount In such cases program error P152 appears and the tool stops at the end point of the previous block Program error stop Line intersecting circulars A B Tool center path Program path Center of circular A r r A B Tool radius compensation cancel If either of the following conditions is met in the tool radius compensation mode the compensation will be ...

Page 195: ...point Tool center path Program path 2 For outer side of corner obtuse angle r Compensation amount Tool center path Program path End point Center of circular Linear Linear Type A s θ G40 Circular Linear Type A r s θ Linear Linear Type B r s θ r Circular Linear Type B r s θ r G40 End point Program path Tool center path Point of intersection Program path Tool center path Center of circular End point ...

Page 196: ...path End point Program path Linear Linear Type A r s θ G40 Circular Linear Type A s G40 r θ Tool center path Program path End point Center of circular Linear Linear Type B r s θ G40 r Tool center path End point Program path Circular Linear Type B r s θ G40 r Tool center path Program path Center of circular End point ...

Page 197: ... G39 corner arc is commanded Inserted circular Tool center path r Compensation amount Program path With G39 command For outer side compensation Point of intersection No G39 command s s For inner side compensation Inserted circular Tool center path r Compensation amount Program path With G39 command Point of intersection No G39 command Tool center path Program path N1 G28X0Y0 N2 G91G01G42X20 Y20 D1...

Page 198: ...1G1Xx11Yy11 N12G38Xx12Yy12 N13G40Xx13 Tool center path N11 N12 N13 r1 r1 r1 Vector at N11 N12 block intersection calculation 3 Holding the outside compensation obtuse angle r1 Vector at N11 N12 block intersection calculation Program path N11G1Xx11Yy11 N12G38Xx12Yy12 N13G40Xx13 Tool center path N11 N12 N13 r1 r1 2 Changing of vector A new compensation vector direction can be commanded with I J and ...

Page 199: ...ensation direction can be changed by changing the compensation command in the compensation mode without the compensation having to be first canceled However no change is possible in the compensation start block and the following block Refer to section 12 4 5 General precautions for tool radius compensation for the movement when the symbol is changed Point of intersection Tool center path Program p...

Page 200: ...gram path G41 G42 r Tool center path Program path Uncut section Arc exceeding 360 due to compensation G41 G42 G42 In the case below it is possible that the arc may exceed 360 a With offset direction selection based on G41 G42 b I J K was commanded in G40 In cases like this the tool center path will pass through a section where the arc is doubled due to the compensation and a section will be left u...

Page 201: ...urn is made to the compensation mode it goes directly to the intersection point 1 Reference position return command Intermediate point N6 N5 S S S N8 N7 G41 N5 G91 G01 X60 Y30 N6 G28 X50 Y 40 N7 X30 Y 60 N8 X70 Y40 Temporarily no compensation vectors at intermediate point Reference position when there is no intermediate point 2 G33 thread cutting command Tool nose radius compensation does not appl...

Page 202: ...o No movement M00 M01 M02 and M30 are handled as pre read inhibit M codes 1 When command is assigned at start of the compensation Perpendicular compensation will be applied on the next movement block N1 N2 N3 N4 N1 X30 Y60 N2 G41 D10 N3 X20 Y 50 N4 X50 Y 20 Block without movement If four or more blocks containing no move command continue or if there is a pre read inhibit M code no compensation vec...

Page 203: ... N7 N6 N8 N6 G91 X100 Y200 N7 G04 X P1000 N8 X200 Block without movement Block N7 is executed here When 4 or more blocks without movement follow in succession or if there is a pre read inhibit M code the offset vectors are created perpendicularly at the end point of the previous block N11 N6 N7 N10 N6 N11 N6 X100 Y200 N7 G4 X1000 N8 F100 N9 S500 N10 M4 N11 W100 In this case a cut results Block wit...

Page 204: ...t change Tool center path Program path Hypothetical tool center path N1 G41 G1X_ N2 G40XaYbIiJj r N1 i j N2 A a b r G41 In this case the point of intersection will always be obtained regardless of the compensation direction even when the commanded vector is incorrect as shown below Tool center path Program path Hypothetical tool center path r N1 i j N2 A a b r G41 When the I and j symbols in the a...

Page 205: ...command blocks the tool will move in a straight line between those vectors This action is called corner movement When the vectors do not coincide the tool moves in order to machine the corner although this movement is part and parcel of the joint block Consequently operation in the single block mode will execute the previous block corner movement as a single block and the remaining joining movemen...

Page 206: ...K for the G18 plane and to J K for the G19 plane As shown in the figures the vectors with a size equivalent to the offset amount are made to serve as the I J type compensation vector perpendicularly to the direction designated by I J without the intersection point of the programmed path being calculated the I J vector can be commanded even in the mode G41 G42 mode in the block before and even at t...

Page 207: ...ath N120 N100 Y X N120 I J N110 D1 2 1 2 G17 G41 G91 N100 G41 G00X150 J50 N110 G02 I150 N120 G00 X 150 1 I J type vector 2 Intersection point calculation type vector Reference a G18 plane N120 N100 Z X N120 K I N110 G18 G41 G91 N100 G41 G00 Z150 I50 N110 G02 K50 N120 G00 Z 150 b G19 plane N120 N100 Z Y N120 J K N110 G19 G41 G91 N100 G41 G00 Y150 K50 N110 G02 J50 N120 G00 Y 150 ...

Page 208: ...e left from the forward direction of the Z axis axis 3 as seen from the zero point Example 1 With I100 Example 2 With I 100 Compensation vector direction 100 0 IJ direction Compensation vector direction 100 0 IJ direction 2 In G42 mode Direction produced by rotating the direction commanded by I J through 90 to the right from the forward direction of the Z axis axis 3 as seen from the zero point Ex...

Page 209: ... D2 Compensation amount for compensation vectors The offset amounts are determined by the offset number modal in the block with the I J designation X N110 I J A Y N100 D1 D1 G41 D1 G91 N100 G41 X150 I50 N110 X100 Y 100 Example 1 Vector A is the offset amount entered in offset number modal D1 in the N200 block G41 D1 G91 N200 G41 X150 I50 D2 N210 X100 Y 100 X N210 I J B Y N200 D2 D1 Example 2 Vecto...

Page 210: ...t deleted avoidance of interference even if there is interference Consequently overcutting may arise in such a case N1 G28 X0Y0 N2 G42 D1 F1000 N3 G91 X100 N4 G42 X100 Y100 I10 N5 X100 Y 100 N6 G40 N7 M02 Cut section Y X N5 I J N4 N3 N2 N6 3 The vectors differ for the G38 I _J_ K_ command and the G41 G42 I_J_ K_ command G38 G41 G42 G41 G38 G91 X100 I50 J50 G41 G41 G91 X100 I50 J50 Example I J Comp...

Page 211: ...1 G42 I J K Offset method No No Intersection point calculation type vector No Yes Intersection point calculation type vector Yes No Intersection point calculation type vector Yes Yes I J type vector No insertion block N1 G91 G01 G41 X200 D1 F1000 N2 X 150 Y150 N3 G41 X300 I50 N4 X 150 Y 150 N5 G40 X 200 During the I J type vector compensation the A insertion block will not exist Y X N5 I J N4 N3 N...

Page 212: ... during tape or memory operation 1 Interrupt without movement tool path does not change N2 S N3 N1 G41D1 N2 X20 Y50 N3 G3 X40 Y 40 R70 S1000 M3 MDI interrupt Stopping position for single block 2 Interrupt with movement The offset vectors are automatically re calculated at the movement block after interrupt N1 G41D1 N2 X20 Y50 N3 G3 X40 Y 40 R70 X50 Y 30 X30 Y50 With linear interrupt S S N2 N3 MDI ...

Page 213: ...t amount Tool path after interrupt Interrupt Tool path after compensation Program path 2 Interrupt with manual absolute ON In the incremental value mode the same operation results as with manual absolute OFF In the absolute value mode however the tool returns to its original path at the end point of the block following the interrupted block as shown in the figure Interrupt Interrupt ...

Page 214: ...unt designated in that block 3 Offset amount symbols and tool center path If the offset amount is negative the figure will be the same as if G41 and G42 are interchanged Thus the axis that was rotating around the outer side of the workpiece will rotate around the inner side and vice versa An example is shown below Normally the offset amount is programmed as positive However if the tool path center...

Page 215: ...mode If changed the movement will be as shown below When offset No compensation amount is changed G41 G01 Dr1 α 0 1 2 3 N101 G0α Xx1 Yy1 N102 G0α Xx2 Yy2 Dr2 Offset No changed N103 Xx3 Yy3 1 During linear linear Tool center path Program path The offset amount designated with N101 will be applied The offset amount designated with N102 will be applied Tool center path Program path N101 r2 r2 r1 r1 N...

Page 216: ...2 Tool center path Program path Center of circular Tool center path Program path N101 N102 G02 N101 G03 Center of circular 3 Circular circular Tool center path Program path Center of circular r1 N101 r1 r2 N102 r1 r1 r1 r1 r2 Center of circular Center of circular Center of circular Tool center path Program path ...

Page 217: ...lock N1 Y X N1 Y Z N4 N6 N6 N1 G91 G00 G41 X 500 Y 500 D1 N2 S1000 N3 M3 N4 G01 Z 300 F1 N6 Y 100 F2 With this program at the start of the N1 compensation the program will be read to the N6 block The relation of N1 and N6 can be judged and correct compensation can be executed as shown above If the above program s N4 block is divided into two N1 G91 G00 G41 X 500 Y 500 D1 N2 S1000 N3 M3 N4 Z 250 N5...

Page 218: ...ssue a command in the same direction as the direction that the Z axis advances in after lowering to prevent excessive cutting N1 G91 G00 G41 X 500 Y 400 D1 N2 Y100 S1000 N3 M3 N4 Z 250 N5 G01 Z 50 F1 N6 Y 100 F2 N1 Y Z N5 N6 N2 N1 N2 Y X N6 N4 N6 The movement is correctly compensated as the same direction as the N6 advance direction is commanded in N2 ...

Page 219: ...ch the cut arises and operation stops Interference check avoidance function 8102 ON 8103 OFF The tool path is changed so that workpiece is not cut into Interference check invalid function 8103 ON Cutting proceeds unchanged even when it occurs Use this for microscopic segment programs Note 8102 COLL ALM OFF interference check avoidance 8103 COLL CHK OFF interference check invalid Detailed descripti...

Page 220: ...3 2 2 1 N1 N3 N2 1 3 4 Example of interference check Vectors 1 4 check No interference Vectors 2 3 check No interference Vectors 3 2 check Interference Erase vectors 3 2 Erase vectors 4 1 With the above process the vectors 1 2 3 and 4 will remain as the valid vectors and the path that connects these vectors will be executed as the interference avoidance path ...

Page 221: ...mmand intersect it will be viewed as interference Tool center path Program path Vectors intersect N1 N3 N2 r When interference check cannot be executed 1 When three of the movement command blocks cannot be pre read When there are three or more blocks in the five pre read blocks that do not have movement 2 When there is an interference following the fourth movement block Tool center path Program pa...

Page 222: ...nce check is used Tool center path Program path N1 N3 N2 Solid line vector Valid Dotted line vector Invalid Linear movement Center of circular Program path Tool center path when interference is avoided Tool center path without interference check N1 N3 N2 N1 N3 N2 r r Tool center path when interference is avoided Tool center path without interference check Program path ...

Page 223: ...vector as shown on the right to avoid the interference Avoidance vector 1 Avoidance vector 2 Tool center path 1 Tool center path 2 Avoidance vector Tool center path Program path Program path N1 N3 N2 N1 N3 N2 r1 N4 r2 r1 r2 Avoidance vector In the case of the figure below the groove will be left uncut Tool center path Program path Interference avoidance path ...

Page 224: ... execution N1 2 3 N2 1 N3 4 2 When the interference check avoidance function has been selected a When there are valid vectors at the end point of the following block even when all the vectors at the end point of its own block have been deleted i When in the figure the N2 interference check is conducted the N2 end point vectors are all deleted but the N3 end point vectors are regarded as valid Prog...

Page 225: ...ror P153 will occur at the N1 end point when the vector intersecting angle is more than 90 Alarm stop N1 N2 N3 N4 Alarm stop Angle of intersection N1 N2 N3 N4 c When the program advance direction and the advance direction after compensation are reversed In the following case interference is still regarded as occurring even when there is actually no interference When grooves which are narrower than...

Page 226: ... the compensation Operations when designating the compensation amount with diameter 1 When the tool radius compensation amount D 10 0 is commanded tool radius compensation amount d is 5 0 if the parameter 8117 is ON set to 1 Tool radius compensation amount r is 10 0 if the parameter 8117 is OFF set to 0 Program path r Program path Tool center path When 8117 is ON Φ20 tool d Tool center path When 8...

Page 227: ...OFF Restrictions 1 If tool radius compensation amount has already been set the compensation amount is not be changed even if the parameter 8117 is changed 2 Make sure not to change the parameter 8117 during the compensation When the parameter is changed using parameter input by program function the program error P241 will occur 3 If the parameter 8117 is set to ON with the parameter 1037 cmdtyp se...

Page 228: ...n the workpiece coordinate system When the parameter is 1 the tool radius compensation is calculated based on the position on the program coordinate system The program coordinate systems are defined as shown in the figure below G52 Local coordinate system Local coordinate system offset G54 to G59 G54 1Pn Workpiece coordinate system Extended workpiece coordinate system Workpiece coordinate system o...

Page 229: ...20 N1 G41 D3 X5 Y10 N2 G01 Y 20 F1000 N3 G40 X30 M30 D3 5 000 G54 offset X15 000 Y15 000 Program coordinate system G54 10 0 5 0 20 0 20 0 i Parameter 0 G53 N2 N3 N1 Compensation vector Tool center path Program path Program path G54 N2 N3 N1 25 0 5 0 20 0 35 0 ii Parameter 1 G53 Compensation vector Tool center path Program coordinate system ...

Page 230: ...the vectors at a right angle to the I J K direction three dimensional tool radius compensation creates the vector in the I J K direction The vector is created at the end point of the block The three dimensional compensation vector offset axis elements are as the right I Hx r I2 J2 K2 J HY r I2 J2 K2 K HZ r I2 J2 K2 Thus the tool center coordinate position x y z is each expressed as the right Note ...

Page 231: ...ommand compensation space Plane normal line vector Compensation No Note that when D00 is issued three dimensional tool radius compensation will be canceled even if G40 is not commanded Compensation amount Compensation G code D00 G40 Cancel Cancel Cancel G41 I J K direction Reverse direction of I J K Cancel G42 Reverse direction of I J K I J K direction Cancel Detailed description Example G17 G41 X...

Page 232: ...sation start When there is no movement command G41 Ii Jj Kk Dd Three dimensional compensation vector Tool center path Start point 3 Movement during the compensation When there is a movement command and a plane normal line vector command New vector Old vector Xx Yy Zz Ii Jj Kk Program path Tool center path Start point 4 Movement during the compensation When there is no plane normal line vector comm...

Page 233: ...he center coordinate will not shift during the circular or helical cutting Thus when I J K are commanded with the vector as below the program error P70 will occur Circular radius Circular center G02 Xx Yy Zz Ii Jj I J K means the circular center or G02 Xx Yy Zz Rr R designated circular New vector Old vector Program path Tool center path Start point Circular radius 6 Movement during the compensatio...

Page 234: ...ction will not be changed In this case the modal will change however the compensation direction will change when I J and K are commanded Note 2 If the compensation direction is changed in an arc G02 G03 block I J will be the center of arc thus the compensation direction will not change Even for the R designation method commanded I J and K will be ignored and the compensation direction cannot be ch...

Page 235: ... radius compensation 3 Tool position offset Tool position offset is applied on the coordinate after three dimensional tool radius compensation 4 Fixed cycle The program error P155 will occur 5 Scaling Scaling is applied on the coordinate before three dimensional tool radius compensation Scaling is not applied on the plane normal line vector I J K D1 10 G90 G51 X0 Y0 P0 5 N1 G41 D1 X 10 Y 20 Z 10 I...

Page 236: ...20 10 X Y 50 30 20 10 30 20 Program path Path after compensation Plane normal line vector Program path Path after compensation Plane normal line vector Program path after coordinate rotation Path after coordinate rotation and compensation 7 Parameter coordinate rotation Parameter coordinate rotation is applied on the coordinates after three dimensional tool radius compensation The plane normal lin...

Page 237: ...after compensation Program path Path after compensation Program path Path after compensation X X Y Z 50 30 20 10 30 20 10 20 b For the incremental command the axis will move by the amount obtained by subtracting each axis vector from the incremental movement amount The compensation amount is temporarily canceled D1 10 G91 N1 G41 D1 X 10 Y 20 Z 10 I 5 J 5 K 5 N2 X 20 Y 10 Z 10 N3 X 20 Y10 Z10 N4 G5...

Page 238: ...al line vector I J K D1 10 G91 N1 G92 G41 D1 X 10 Y 20 Z 10 I 5 J 5 K 5 N2 X 20 Y 10 Z 10 N3 X 30 Y 10 Z10 N4 Y20 N1 10 000 20 000 10 000 N1 15 773 25 773 15 773 N2 30 000 30 000 20 000 N2 35 773 35 773 25 773 N3 50 000 20 000 10 000 N3 55 773 25 773 15 773 N4 50 000 0 000 10 000 N4 55 773 5 773 15 773 Upper Program position Lower Position after compensation Program path Path after compensation Pr...

Page 239: ...000 0 000 0 000 N4 0 000 0 000 0 000 N4 20 000 10 000 10 000 N4 20 000 10 000 10 000 Upper Program position workpiece coordinate Lower Position after compensation X X Z 30 20 10 40 20 10 30 W 0 0 M 0 0 10 Y 30 20 M 0 0 W 0 0 20 10 50 30 20 70 50 Program path Path after compensation Program path Path after compensation 15 NC reset Three dimensional tool radius compensation will be canceled if NC re...

Page 240: ...rmation will be changed The plane normal line vector will be validated from the block where I J and K are commanded next 3 During the three dimensional tool radius compensation mode in a certain space it is not possible to switch the space to another one and to execute three dimensional tool radius compensation To switch the compensation space always cancel the compensation mode with G40 or D00 fi...

Page 241: ... Movement amount Start point End point Internal arithmetic processing Movement amount Start point End point Internal arithmetic processing Movement amount Start point End point Program command value compensation amount Movement amount after compensation Command format G45 X__ Y__ Z__ H__ D__ Expansion of movement amount by compensation amount set in compensation memory G46 X__ Y__ Z__ H__ D__ Redu...

Page 242: ...de They are ignored even if they are assigned during a canned cycle 2 As a result of the internal arithmetic processing based on the expansion or reduction the tool will proceed to move in the opposite direction when the command direction is reversed Start point End point Programmed command Compensation Tool movement G48X20 000D01 Compensation amount 15 000 Actual movement X 10 000 3 When a zero m...

Page 243: ...ath However in this case compensation must already be provided in the desired direction at the arc start point If a compensation command is assigned for the arc independently the arc start point and end point radii will shift by an amount equivalent to the compensation amount Programed path 1 4 circle G45 G46 G45 for compensation outside the circle G46 for compensation inside the circle 1 2 circle...

Page 244: ... to G48 commands compensation is provided with the tool position compensation number previously stored in the memory Program error P170 results when the specified compensation number has exceeded the specification range These G codes are unmodal and are effective only in the command block Even with an absolute value command the amount of the movement is extended or reduced for each axis with respe...

Page 245: ...r compensation G01 G45X220 Y60 D20 D20 50 000 60 Y Start point Note 1 If compensation is applied to two axes over cutting or under cutting will result as shown in the figures below In cases like this use the cutter compensation commands G40 to G42 Tool nose center path Tool Desired shape Under cutting Programmed path X l compensation amount setting G01 G45 Xx1 Dd1 Xx2 Yy2 G45 Yy3 Y Workpiece Machi...

Page 246: ... G45 to G48 command is assigned the compensation amount for each pass is the amount assigned by the compensation number and the tool does not move for the difference from the previous compensation as it would do with the tool length compensation command G43 Tool nose center path 40 Programmed path 30 N101 10 N102 30 30 30 40 40 10 N100 N105 N108 N110 N103 N115 N114 N116 N113 N109 N112 N104 N106 N1...

Page 247: ...91 G46 G00 X40 0 Y40 0 D01 N101 G45 G01 X100 0 F200 N102 G45 G03 X10 0 Y10 0 J10 0 N103 G45 G01 Y40 0 N104 G46 X0 N105 G46 G02 X 20 0 Y20 0 J20 0 N106 G45 G01 Y0 N107 G47 X 30 0 N108 Y 30 0 N109 G48 X 30 0 N110 Y 30 0 N111 G45 X 30 0 N112 G45 G03 X 10 0 Y 10 0 J 10 0 N113 G45 G01 Y 20 0 N114 X10 0 N115 Y 40 0 N116 G46 X 40 0 Y 40 0 N117 M02 ...

Page 248: ...unt Command format 1 Workpiece offset input G90 G10 L2 P__X__Y__Z__ G91 P 0 External workpiece 1 G54 2 G55 3 G56 4 G57 5 G58 6 G59 Note The offset amount in the G91 will be an incremental amount and will be cumulated each time the program is executed Command G90 or G91 before the G10 as a cautionary means to prevent this type of error 2 Tool compensation input a For tool compensation memory I G10 ...

Page 249: ...for the external workpiece coordinate system and the workpiece coordinate system are commanded 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 or L20 can be omitted when the workpiece offset is input 11 If ...

Page 250: ... N1 G01 G91 G43 Z0 H10 F100 c1 c2 c3 c4 G01 X1000 d1 d2 d3 d4 1 1 1000 G90 G10 L10 P10 R 1 G23 Note Final offset amount will be H10 5000 a b1 b2 b3 b4 1000 1000 1000 1000 1000 1000 1000 1000 c1 d1 c3 d3 c2 d2 c4 d4 Example 3 The program for Example 2 can also be written as follows Main program N1 G00 X100000 N2 G22 L1111 L4 Subprogram L1111 N1 G01 G91 G43 Z0 H10 F100 N2 G01 X1000 N3 G10 L10 P10 R ...

Page 251: ...coordinate before change G54 coordinate after change X 20 10 10 M 20 Y Y Y X X N100 N101 N102 W1 W1 Note 1 Changes of workpiece position display at N101 At N101 the G54 workpiece position display data will change before and after the workpiece coordinate system is changed with G10 X 0 X 5 000 Y 0 Y 5 000 When workpiece coordinate system offset amount is set in G54 to G59 G90 G10 L2 P1 X 10 000 Y 1...

Page 252: ...Main program Subprogram L200 Basic machine coordinate system zero point 4th time 3rd time 2nd time 1st time X 10 10 M 20 Y 50 30 60 40 G54 W W W W W G54 G54 G54 G54 50 40 30 20 5th time Precautions 1 Even if this command is displayed on the screen the offset No and variable details will not be updated until actually executed N1 G90 G10 L10 P10R 100 N2 G43 Z 10000 H10 N3 G0 X 10000 Y 10000 N4 G90 G...

Page 253: ...pensation memory type Function Type A Tool compensation amount substituted Tool length shape compensation amount Substituted Tool length wear compensation amount Tool radius shape compensation amount Type B Tool radius wear compensation amount Detailed description 1 G11 command is unmodal thus it is valid only in the block where it is commanded 2 G11 must not be used with G codes other than G54 to...

Page 254: ...fe management data registration P Group No L Life Q Control method T Tool No The spare tools are selected in the order of the tool numbers registered here H Length compensation No D Radius compensation No Next group First group 2 Changing and adding groups G10 L3 P1 Start of life management data change or addition P_L_Q_ Change or addition of the group No the life the control method T_H_D_ Change ...

Page 255: ...gistered 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 Group deletion G1 L3 P2 P10 G11 M02 1 The group deletion starts ...

Page 256: ...ngth compensation No amount the radius compensation No amount G11 End of data registration for life management P Group No L Life Q Control method T Tool No he spare tools are selected in the order of the tool Nos registered here H Length compensation No or length compensation amount R Length diameter compensation No or diameter compensation amount Next group First group 2 Changing and adding group...

Page 257: ...n 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 additionally registered The change and addition tool Tool management method is number of usages Tool length compensation is incremental value compensation amount method Tool radius compensation is absolute value compensation amount metho...

Page 258: ...ta 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 9999 times number of mounts 0 to 9999 times number of usages Length compensation No amount Hn 0 to 999 compensation No 9999 999 incremental value compensation amount 9999 999 ab...

Page 259: ... omitted 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 Program error P33 will be occur 10 If the usage data count valid signal YC8A is ON G10 L3 or G10 L30 cannot be commanded 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...

Page 260: ...operation Z direction Retract at high speed Application G code Hole machining start Z direction Dwell Spindle G80 Cancel G81 Cutting feed Rapid feed Available Drill spot drilling cycle G82 Cutting feed Yes Rapid feed Drill counter boring cycle G83 Intermittent feed Rapid feed Available Deep hole drilling cycle G84 Cutting feed Yes Reverse rotation Cutting feed Tapping cycle G85 Cutting feed Cuttin...

Page 261: ... 2 Label O G8Δ G7Δ X__ Y__ Z__ R__ Q__ E__ F__ P__ S__ S__ I__ J__ G8Δ G7Δ X__ Y__ Z__ R__ Q__ E__ F__ P__ S__ R__ I__ J__ G8Δ G7Δ Hole machining mode X Y Z R Q E F P S S Hole positioning data Hole machining data Number of repetitions When 0 is set drilling is not executed at a command block Spindle rotation speed Spindle rotation speed during retraction R I J Synchronization changeover Positionin...

Page 262: ...ne after positioning is completed at the initial hole and when G87 is commanded the M10 command is output from the control unit to the machine When this M command is executed and the finish signal FIN is received by the control unit the next operation will start If the single block stop switch is ON the block will stop after positioning Operation 3 The tool is positioned to the R point by rapid tr...

Page 263: ... J K I J K Designation of shift amount for G76 or G87 incremental value The shift amount is designated with Q address according to the parameter setting S S Spindle rotation speed command Note1 S command that was issued with the form of Sn will be ignored during the synchronous tapping n spindle No rotation speed Note2 If S command is issued in the synchronous tapping modal the program error P186 ...

Page 264: ...low a Selection of synchronous tapping cycle asynchronous tapping cycle Program G84 Rxx Control parameter Synchronous tapping Synchronous asynchronous R00 OFF Asynchronous Rxx No designation ON R01 Synchronous is irrelevant to the setting b Selection of asynchronous tapping cycle feed rate G94 G95 Control parameter F1 digit value F command value Feed designation OFF F designation Other than F0 to ...

Page 265: ...ata will be saved only No drilling Positioning plane and hole drilling axis The canned cycle has basic control elements for the positioning plane and hole drilling axis The positioning plane is determined by the G17 G18 and G19 plane selection command and the hole drilling axis is the axis perpendicular X Y Z or parallel axis to the above plane Plane selection Positioning plane Hole drilling axis ...

Page 266: ...cle When the number of repetitions L is designated as two or more times in the fixed cycle the commanded in position width will be valid in the repetition block operation 5 to operation 8 G81 X 50 Z 50 R 50 L2 F2000 I0 2 J0 3 Operation1 50 Operation5 Operation2 Operation3 Operation4 Operation7 Operation8 Operation6 50 Fig 1 Operation when number of repetitions L is designated In the following mach...

Page 267: ... out in position check 1 1 0 1 P designation Example G84 F1 Z 5 S1000 PO R 5 Hole bottom R point I point R point Carry out in position check by tap in position width Do not carry out in position check Carry out in position check 1 0 1 1 P designation Example G84 F1 Z 5 S1000 PO R 5 Hole bottom R point I point R point Do not carry out in position check Carry out in position check Carry out in posit...

Page 268: ... feed to the R point G1 deceleration start at tap cut in R point In position check by the G1inps value I point In position check by the G0inps value Hole bottom In position check by the Tapinps value 1 Section in which the in position check is carried out by the sv024 value 2 Section in which the in position check is carried out by the TapInp value 3 Section in which the in position check is carri...

Page 269: ...ait until completion of in position check by G0inps value 1 1 1 1 Larger value of P and TapDwl 1313 is valid Processing time is several 10ms if both values are 0 Wait until dwell time in left column has elapsed after completion of in position check Wait until completion of in position check by G1inps value Wait until completion of in position check by G0inps value 1 0 0 0 Larger value of P and Tap...

Page 270: ...ops at after the 1 2 and 4 commands during single block operation Operation pattern i1 j1 1 Valid 2 Invalid 3 Invalid 4 Valid b G82 Drilling counter boring Program G82 Xx1 Yy1 Zz1 Rf1 Ff1 Pp1 Ii1 Jj1 P Dwell designation 1 G0 Xx1 Yy1 2 G0 Zr1 3 G1 Zz1 Ff1 4 G4 Pp1 Dwell 5 G98 mode G0Z z1 r1 G99 mode G0Z z1 G98 G99 modemode 1 x1 y1 z1 r1 2 3 4 5 5 Operation pattern i1 j1 1 Valid 2 Invalid 3 Invalid ...

Page 271: ... q1 r1 z1 m m 3 4 5 6 7 8 9 10 2 n Operation pattern i1 j1 1 Valid 2 Invalid 3 Invalid 4 Invalid 5 Invalid 6 Invalid 7 Invalid 8 Invalid 9 Invalid 10 Invalid n 1 Invalid n Valid When executing a second and following cutting in the G83 as shown above the movement will change from rapid traverse to cutting feed several mm m mm in the figure above before the position machined last When the hole botto...

Page 272: ...e asynchronous tapping mode will be entered When G84 is executed the override will be canceled and the override will automatically be set to 100 Dry run is valid when the control parameter G00 DRY RUN is on and is valid for the positioning command If the feed hold button is pressed during G84 execution and the sequence is at 3 to 6 the movement will not stop immediately and instead will stop after...

Page 273: ...le rotation speed during return is held as modal information i When tap rotation speed spindle rotation speed during return synchronous tap changeover spindle rotation speed 2 Smax S2 S S1 S1 S S2 Smax T1 T1 T1 T1 T2 T2 S Command spindle rotation speed S Spindle rotation speed during return S1 Tap rotation speed spindle base specification parameters 3013 to 3016 S2 Synchronous tap changeover spind...

Page 274: ...dle base specification parameters 3013 to 3016 S2 Synchronous tap changeover spindle rotation speed 2 spindle base specification parameters 3037 to 3040 Smax Maximum rotation speed spindle base specification parameters 3005 to 3008 T1 Tap time constant spindle base specification parameters 3017 to 3020 T2 Synchronous tap changeover time constant 2 spindle base specification parameters 3041 to 3044...

Page 275: ...ern i1 j1 1 Valid 2 Invalid 3 Invalid 4 Invalid 5 Valid The operation stops at after the 1 2 and 4 or 5 commands during single block operation f G86 Boring Program G86 Xx1 Yy1 Zz1 Rr1 Ff1 Pp1 G98 G99 mode mode 4 5 1 x1 y1 z1 r1 2 3 6 6 7 1 G0 Xx1 Yy1 2 G0 Zr1 3 G1 Zz1 Ff1 4 G4 Pp1 5 M5 Spindle stop G98 mode G0Z z1 r1 G99 mode G0Z z1 7 M3 Spindle forward rotation 7 6 The operation stops at after th...

Page 276: ...in the state shifted to the direction opposite of the cutter The shift amount is designated as shown below with addresses I J and K Spindle orient position Cutter Tool during cutting Tool after cutting Cancel Shift Machining hole Cancel Shift Shift amount The shift amount is executed with linear interpolation and the feed rate follows the F command Command I J and K with incremental values in the ...

Page 277: ...on G98 G99 mode mode 4 5 6 7 1 x1 y1 z1 r1 2 3 8 8 9 9 8 The operation stops at after the 1 2 6 and 9 commands during single block operation i G89 Boring Program G89 Xx1 Yy1 Zz1 Rr1 Ff1 Pp1 Ii1 Jj1 1 G0 Xx1 Yy1 2 G0 Zr1 3 G1 Zz1 Ff1 4 G4 Pp1 5 G1 Z z1 Ff1 G98 mode G0Z r1 G99 mode No movement G98 G99 mode mode r1 z1 1 6 x1 y1 2 3 4 5 5 6 Operation pattern i1 j1 1 Valid 2 Invalid 3 Invalid 4 5 Inval...

Page 278: ... z1 r1 q q q n m n 1 2 4 5 6 n Operation pattern i1 j1 1 Valid 2 Invalid 3 Invalid 4 5 Invalid 6 Invalid n 1 Invalid n Valid When executing a second and following cutting in the G73 as shown above the movement will return several mm m mm in the figure above with rapid traverse and then will change to cutting feed The return amount m will differ according to the parameter 8012 G73 return The operat...

Page 279: ...ynchronous tapping mode will be entered When G74 is executed the override will be canceled and the override will automatically be set to 100 Dry run is valid when the control parameter 1085 G00Drn is set to 1 and is valid for the positioning command If the feed hold button is pressed during G74 execution and the sequence is at 3 to 6 the movement will not stop immediately and instead will stop aft...

Page 280: ...le rotation speed during return is held as modal information i When tap rotation speed spindle rotation speed during return synchronous tap changeover spindle rotation speed 2 Smax S2 S S1 S1 S S2 Smax T1 T1 T1 T1 T2 T2 S Command spindle rotation speed S Spindle rotation speed during return S1 Tap rotation speed spindle base specification parameters 3013 to 3016 S2 Synchronous tap changeover spind...

Page 281: ...dle base specification parameters 3013 to 3016 S2 Synchronous tap changeover spindle rotation speed 2 spindle base specification parameters 3037 to 3040 Smax Maximum rotation speed spindle base specification parameters 3005 to 3008 T1 Tap time constant spindle base specification parameters 3017 to 3020 T2 Synchronous tap changeover time constant 2 spindle base specification parameters 3041 to 3044...

Page 282: ...ncremental position Z axis feed amount tapping pitch per spindle rotation Tap thread number per 1 inch feed of Z axis Dwell time at hole bottom position Rotation speed of spindle Rotation speed of spindle during retract In position width of positioning axis In position width of hole drilling axis Synchronization method selection r2 1 synchronous r2 0 asynchronous Note When R0 is commanded F addres...

Page 283: ...ed as an incremental position Z axis feed amount tapping pitch per spindle rotation Tap thread number per 1 inch feed of Z axis Dwell time at hole bottom and point R return Rotation speed of spindle Rotation speed of spindle during retract In position width of positioning axis In position width of hole drilling axis Synchronization method selection r2 1 synchronous r2 0 asynchronous Note When R0 i...

Page 284: ...ircle Until returning to the circle center Program G75 Xx1 Yy1 Zz1 Rr1 Qq1 Pp1 Ff1 4 G98 d G99 mode 1 2 3 6 7 x1 y1 z1 r1 5 7 r q1 Y X Z X 1 G0 Xx1 Yy1 2 G0 Zr1 3 G1 Zz1 Ff1 4 Gn X q1 r I q1 2 Inner circumference half circle 5 Iq1 Outer circumference 6 X q1 r I q1 2 Inner circumference half circle 7 G98 mode G0 Z z1 r1 G99 mode G0 Z z1 n q1 0 G02 q1 0 G03 r Tool radius compensation amount of the N...

Page 285: ...ng cutting Cancel Tool after cutting Machining hole Cutter Shift Cancel Shift Shift amount Command I J and K with incremental values in the same block as the hole position data I J and K will be handled as modals during the canned cycle Note If the parameter 1080 Dril_z which fixes the hole drilling axis to the Z axis is set the shift amount can be designated with address Q instead of I and J In t...

Page 286: ...d G03 commands R will be handled as the arc radius 5 If an M function is commanded in the same block as the canned cycle command the M code and MF will be output during the initial positioning The next operation will be moved to with FIN finish signal If there is a No of times designated the above control will be executed only on the first time 6 If another control axis ex rotary axis additional a...

Page 287: ...n width and the position error amount are compared at a set time so the position error amount at the point to be judged as in position will be smaller than the commanded in position width 19 If the in position width commanded with the programmable in position command is small the commanded deceleration check or in position check following the parameters may be carried out first 20 Synchronous and ...

Page 288: ...ed with lost motion compensation a Set the lost motion compensation type 2 or 3 with servo parameter Then set the following parameters to adjust the retract amount 2170 Lmc1QR Lost motion compensation gain 1 for high speed retract equivalent to 2216 SV016 LMC1 Lost motion compensation 1 2171 Lmc2QR Lost motion compensation gain 2 for high speed retract equivalent to 2241 SV041 LMC2 Lost motion com...

Page 289: ...tion at G81 command Start point Initial point G98 mode R point G99 mode Retracted at high speed 1 2 3 4 5 1 Moves from start point to initial point 2 Moves from initial point to R point 3 Cutting feed 4 Retracted at high speed During single block operation the axis stops after 1 2 and 5 only 2 Operation at G83 command Initial point G98 mode G99 mode Rpoint Retracted at high speed G83 Return amount...

Page 290: ...8 1 Moves from start point to initial point 2 Moves from initial point to R point 3 Cutting feed 4 Retracted at high speed 5 Moves to the position set with G73 return amount 6 Repeat of 3 4 and 5 7 Retracted at high speed 8 Returns to R point or initial point During single block operation the axis stops after 1 2 and 8 only If a dwell command is issued the high speed retract will be executed after...

Page 291: ...ON at cancel with M02 M30 and reset button G99 Only one execution G81X100 Y100 Z 50 R25 F1000 Initial point R point Initial level return is executed Initial point R point R point level return is executed Second and following executions G81X100 Y100 Z 50 R25 L5F1000 Second time Final time First time Initial level return is executed for all times Second time Final time Note First time Note The final...

Page 292: ...r in the incremental value the symbol will be ignored and will be viewed as the same symbol as for Z Note that the symbols will be viewed in reverse for G87 The hole machining data is held as shown below in the canned cycle The hole machining data is canceled when the G80 command or G commands G00 G01 G02 G03 G2 1 G3 1 G33 in the 01 group are reached Example 2 N001 G81 Xx1 Yy1 Zz1 Rr1 Ff1 N002 G81...

Page 293: ...stem set for the axis The Z axis is valid after the R point positioning after positioning or from Z axis movement Note When the workpiece coordinates are changed over for address Z and R re program even if the values are the same Example G54 Xx1 Yy1 Zz1 G81 Xx2 Yy2 Zz2 Rr2 G55 Xx3 Yy3 Zz2 Rr2 Re command even if Z and R are the same as the previous value Xx4 Yy4 Xx5 Yy5 ...

Page 294: ...e recorded The axis is positioned to the hole machining position when the special fixed cycle is executed The hole machining operation is executed with the canned cycle for hole machining Even after the special fixed cycle is executed the recorded standard fixed cycled will be held until canceled If the special fixed cycle is designated when not in the fixed cycle mode only positioning will be exe...

Page 295: ...tering on the coordinates designated with XX and Y The hole drilling operation at each hole will hold the drilling data for the standard canned cycle such as G81 The movement between hole positions will all be done in the G00 mode G34 will not hold the data even when the command is completed Example With 0 001mm least command increment Position prior to excution of G34 command G0 command in N005 N...

Page 296: ...d hole machining data must be held beforehand The movement between hole positions will all be done in the G00 mode G35 will not hold the data even when the command is completed Example n 5 holes Position before G35 is executed θ 30 d 100mm x1 200mm When input setting unit is 0 001mm G91 G81 Z 10000 R5000 L0 F100 G35 X200000 Y100000 I100000 J30000 K5 y1 100mm Note 1 If the K command is K0 or if the...

Page 297: ...ed 1 to 9999 can be designated The n holes aligned at the angle interval Δθ will be drilled starting at point created by the X axis and angle θ The circumference is that of the radius R centering on the coordinates designated with XX and Y As with the bolt hole circle the hole drilling operation at each hole will depend on the standard canned cycle The movement between hole positions will all be d...

Page 298: ...ing data hole machining mode and hole machining data must be held beforehand The movement between hole positions will all be done in the G00 mode G37 will not hold the data even when the command is completed Example ny 8 holes Position before G37 is executed nx 10 holes x1 300mm Δy 100mm y1 100mm Δx 50mm When input setting unit is 0 01mm G91 G81 Z 10000 R5000 F20 G37 X300000 Y 100000 I50000 P10 J1...

Page 299: ...2 L2500 G23 H60 Subprogram L3000 G23 Level 2 Level 3 Level 8 Nesting depth The table below shows the functions which can be executed by adding and combining the tape storing and editing functions subprogram control functions and fixed cycle functions Case 1 Case 2 Case 3 Case 4 1 Tape storing and editing Yes Yes Yes Yes 2 Subprogram control No Yes Yes No 3 Fixed cycles No No Yes Yes Function 1 Mem...

Page 300: ...9 times according to 4 digit value For instance G22 L1 P3 is equivalent to the following G22 L1 G22 L1 G22 L1 D Subprogram device No 0 to 4 The subprogram in the memory can be used when D is omitted The device No is set with the machining parameters Return to main program from subprogram G22 H__ G22 Subprogram return command H Sequence No of return destination returned to block that follows the ca...

Page 301: ... call Miscellaneous function call MDI interruption Automatic tool length measurement Macro interruption Multiple step skip function 6 Subprogram nesting is not subject to the following commands which can be called even beyond the 8th nesting level Fixed cycles Pattern cycles 7 To repeatedly use the subprogram it can be repeated p1 times by programming G22 Ll1 Pp1 8 When using the multi part system...

Page 302: ... execution 1 2 3 3 2 1 1 L1 G22L10 G23 L10 G22L20 G23 L20 G23 1 2 2 3 3 1 For nesting the G22 and G23 commands should always be paired off on a 1 1 basis 1 for 1 2 for 2 etc 2 Modal information can be rewritten according to the execution sequence without distinction between main programs and subprograms This means that after calling a subprogram attention must be paid to the modal data status when...

Page 303: ...peration will take time when the sequence No is designated by G23H_ 6 When using a file name for the subprogram specify the file name with 32 characters or less including the extension If a file name exceeding 32 characters is specified a program error P232 will occur 7 All the programs are registered as files For example when calling the file 0100 as a subprogram 0100 cannot be searched with G22L...

Page 304: ...rogram repetitions If omitted this is handled as P1 When P0 is set the subprogram is not called 1 to 9999 times set with 4 digit value D Subprogram device No 0 to 4 The subprogram in the memory can be used when D is omitted The device No is set with the machining parameters Detailed description P1 times Basic figure j1 i1 Rotation center 1 The first subprogram called out with subprogram call is ex...

Page 305: ... The figure is rotated on the workpiece coordinate system and can be shifted with the G92 G52 G54 to G59 workpiece coordinate system shift command 9 Functions reference position return unidirectional positioning etc on the machine coordinate system for the rotary plane axis cannot be used while the figure is rotated However the machine coordinate system functions can be used for axes other than th...

Page 306: ...ula Detailed description 1 Variable expressions Example a m b f m value consisting of 0 to 9 f one of the following in the formula Numerical value m Variable Formula operator formula minus formula Formula function formula 100 120 123 543 110 119 120 119 SIN 110 Note 1 The 4 standard operators are and Note 2 Functions cannot be used unless the user macro specifications are available Note 3 Error P2...

Page 307: ...y the parameter 1052 MemVal Note 5 Local variables 1 to 33 Can be used for local variables in macro programs System variables From 1000 Application is fixed by system Fixed cycle variables 1 to 32 Local variables in fixed cycle programs Note 1 All common variables are retained even when the power is turned OFF Note 2 When the power is turned OFF or reset the common variables can be set to null by ...

Page 308: ... is input Variable data which is not common variables of local variable 1 to 33 and system variable 1000 to etc Variable data to which conditions of number of common variable sets are not corresponding Example If the 100 to 199 500 to 599 exist in the input file when the common variable 100 sets 100 to 149 500 to 549 the 150 to 199 550 to 599 are ignored and 100 to 149 500 to 549 are input Note 7 ...

Page 309: ...s 1128 RstVC1 1129 PwrVC1 are set to 1 the operation is as follows according to expression 1128 RstVC1 Clear variables by resetting Common variables shared between the part systems equivalent to 100 to 199 of reset part system are cleared Example When resetting in 1st part system 100100 to 100199 are cleared When resetting in 2nd part system 200100 to 200199 are cleared 1129 PwrVC1 Clear variables...

Page 310: ...as the X value Note 1 A variable cannot be defined in the same block as an address It must be defined in a separate block Incorrect Correct X 1 3 100 1 3 100 X 1 Note 2 Up to five sets of square parentheses may be used 543 120 2 15 3 100 520 125 128 130 132 Note 3 There are no restrictions on the number of characters and number of variables for variable definition Note 4 The variable values should...

Page 311: ... special purpose control These special purpose control functions macro programs are called by the macro call instructions exactly when required from the main program The following G codes are available for the macro call commands G code Function G65 User macro Simple call G66 User macro Modal call A Movement command call G66 1 User macro Modal call B Per block call G67 User macro Modal call cancel...

Page 312: ...characters including the extension P Number of repetitions Argument Specify variable data When the argument must be transferred as a local variable to a user macro subprogram the actual value should be designated after the address Regardless of the address a sign and decimal point can be used in the argument There are 2 ways in which arguments are designated 1 Argument designation I Format A_ B_ C...

Page 313: ...ddress Variable in macro G65 G66 G66 1 A 1 B 2 C 3 D 7 E 8 F 9 G 10 H 11 I 4 J 5 K 6 L 12 M 13 N 14 O 15 P 16 Q 17 R 18 S 19 T 20 U 21 V 22 W 23 X 24 Y 25 Z 26 Can be used Cannot be used Can be used while G66 1 command is modal Note With the M2 M0 format label O type the address A is used as the address for subprogram No thus A can not be used as the local variable No ...

Page 314: ...1 J5 17 B 2 K5 18 C 3 I6 19 I1 4 J6 20 J1 5 K6 21 K1 6 I7 22 I2 7 J7 23 J2 8 K7 24 K2 9 I8 25 I3 10 J8 26 J3 11 K8 27 K3 12 I9 28 I4 13 J9 29 J4 14 K9 30 K4 15 I10 31 I5 16 J10 32 K10 33 Note 1 The numbers 1 through 10 accompanying I J and K denote the sequence of the commanded groups and they are not required for the actual instructions Note 2 With the M2 M0 format label O type the address A is u...

Page 315: ...t G66 L__ P__ argument or G66 File name P_ argument G66 Call instruction L_ Program No File name File name A file name can be specified instead of a program No In this case enclose the file name with brackets The file name can have up to 32 characters including the extension P_ Number of repetitions Argument Specify variable data Detailed description 1 When the G66 command is entered the specified...

Page 316: ...r axis command execution To main program Subprogram X L9010 N10 G00 Z 18 M0 N20 G09 G01 Z 26 F 9 N30 G00 Z 18 26 G68 Subprogram W Y 150 100 50 N1 100 50 N2 N3 N4 N5 N10 N20 N30 Argument F To subprogram after axis command execution Argument R Argument Z Note 1 After the axis command is executed in the main program the subprogram is executed Note 2 The subprogram is not executed in the blocks follow...

Page 317: ...in the various command blocks which are read are handled as the argument without being executed Any G code designated last or any N code commanded after anything except L O and N will function as the argument 2 The same applies as when G65L__ is assigned at the head of a block for all significant blocks in the G66 1 mode Example 1 N100 G01 G90 X100 Y200 F400 R1000 in the G66 1 L1000 mode is the sa...

Page 318: ... set issue the cancel command G67 either in the user macro or after the call code has been commanded so as to cancel the modal call 2 The correspondence between the which conducts the macro call and the macro program number LΔΔΔΔ to be called is set by parameter 3 Up to 10 G codes from G100 to G255 can be used with this instruction G codes used in the system can also be used with parameter 1081 Gm...

Page 319: ...and the macro program number LΔΔΔΔ to be called is set by parameter Up to 10 M codes from M00 to M95 can be entered Note that the codes to be registered are the codes basically required for the machine and codes excluding M0 M1 M2 M30 3 As with G22 it is displayed on the screen display of the setting and display unit but the M codes and MF are not output 4 Even if the miscellaneous command entered...

Page 320: ...depth Up to 4 nesting levels are available for macro subprogram calls based on simple call or modal call The argument with a macro call instruction is valid only on the called macro level Since the nesting depth for macro calls extends up to 4 levels the argument can be used as a local variable for the program with each respective macro call Note 1 When a G65 G66 G66 1 G code macro call or miscell...

Page 321: ...gram L0002 D2000 M30 L200 G23 After outputting 2000 to common variable 146 the program No 200 subprogram is called with the G22 subprogram call type 7401 ASCII 01 Valid Invalid 1 Valid 7402 ASCII 01 Code D 7403 ASCII 01 Type 0 G22 type 7404 ASCII 01 Program No 200 7405 ASCII 01 Variable 146 Parameter Execution example 2 G65 type Main program Subprogram L0003 A500 M30 L3000 G23 After outputting 500...

Page 322: ...nd the program No LΔΔΔΔ to be called are set with the parameters Up to two ASCII codes can be registered 3 The code section is output to the variables but the output destination differs according to the call type and address a For G22 type The code section is output to the common variable and the variable No is set with the parameters When corresponding to the first address parameter 7401 the sect...

Page 323: ...rogram can be called in up to four levels using simple call G65 and modal call G66 G66 1 The macro call command s argument is valid only in the called macro level Since the macro call nest level is four levels the argument for each macro call can be used in the program as a local variable 3 Nest level of subprogram call Counting the main program as 0 up to eight levels of subprograms can be called...

Page 324: ... the ASCII code macro command they will be identified as normal commands If the command to be used overlaps with an ASCII code macro command it must be commanded in the program macro called with the ASCII code Note that there are cases where the command will be unconditionally handled as a normal command as explained in 5 below 5 Conditions where the address set in ASCII code macro command is hand...

Page 325: ...ions applied variable numbers can be turned into variables multiple use of variables or replaced by formula Only one of the four basic arithmetic rule operations can be conducted with formula Example 1 Multiple use of variables 1 10 10 20 20 30 1 10 from 1 10 5 1 10 20 from 10 20 Therefore 5 20 or 5 30 1 20 10 20 20 30 5 1000 1 10 from 1 10 1 5 10 20 from 10 20 Therefore 20 5 or 20 1000 Example 2 ...

Page 326: ...t Constant Constant Vacant Constant 2 Variable quotations When undefined variables only are quoted they are ignored up to the address When 1 Vacant G0 X 1 Y1000 Equivalent to G0 Y1000 G0 X 1 10 Y1000 Equivalent to G0 X10 Y1000 3 Conditional expressions Vacant and 0 are not equivalent for EQ and NE only 0 means vacant When 101 Vacant When 101 0 101 EQ 0 Vacant Vacant established 101 EQ 0 0 Vacant n...

Page 327: ...ing table shows the correspondences between the addresses designated by argument and the local variable numbers used in the user macro main bodies Argument specification I Call command Call command G65 G66 G66 1 Argument address Local variable number G65 G66 G66 1 Argument address Local variable number A 1 Q 17 B 2 R 18 C 3 S 19 D 7 T 20 E 8 U 21 F 9 V 22 G 10 W 23 H 11 X 24 I 4 Y 25 J 5 Z 26 K 6 ...

Page 328: ... J4 14 J10 32 K4 15 K10 33 I5 16 J5 17 K5 18 Note 1 Subscripts 1 to 10 for I J and K indicate the order of the specified command sets They are not required to specify instructions 1 Local variables in subprograms can be defined by means of the argument designation during macro call Main program Refer to the local variables and control the movement etc Subprogram L9900 Local variables set by argume...

Page 329: ... F500 30 FUP 2 5 2 5 2 30 2 G22 H100 P 30 X 1 G23 N100 G1 X 1 F 9 Y 5 X 1 Y 5 G23 A 1 100 000 B 2 50 000 F 9 500 J 5 10 000 8 333 30 3 Example of front surface milling To subprogram The local variables can be changed in the subprogram J A B In the front surface milling example argument J is programmed as the milling pitch 10 mm However this is changed to 8 333mm to create an equal interval pitch T...

Page 330: ... Main level 0 L1 macro level 1 L10 macro level 2 L100 macro level 3 1 0 1 2 0 2 3 0 3 G65 L1A1 B2 C3 M02 G65 L10A10 B20 C30 G23 G65 L100A100 B200 G23 G23 Local variables 0 1 0 100 2 0 200 3 0 300 32 Local variables 1 A 1 1 000 B 2 2 000 C 3 3 000 D 7 Z 26 32 Local variables 2 A 1 10 000 B 2 20 000 C 3 30 000 D 7 Z 26 32 Local variables 3 A 1 100 000 B 2 200 000 C 3 Z 26 32 The status of the local ...

Page 331: ...input signal 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Register R6436 bit 0 Register R6436 bit 1 Register R6436 bit 2 Register R6436 bit 3 Register R6436 bit 4 Register R6436 bit 5 Register R6436 bit 6 Register R6436 bit 7 Register R6436 bit 8 Register R6436 bit 9 Register R6436 bit 10 Register R6436 bit 11 Register R6436 bit 12...

Page 332: ... Register R6439 bit 10 Register R6439 bit 11 Register R6439 bit 12 Register R6439 bit 13 Register R6439 bit 14 Register R6439 bit 15 System variable No of points Interface input signal System variable No of points Interface input signal 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Register R6440 bit 0 Register R6440 bit 1 Register ...

Page 333: ...an be only 0 or 1 All the output signals from 1100 to 1131 can be sent at once by substituting a value in variable number 1132 Similarly the output signals 1300 to 1311 1332 to 1363 and 1364 to 1395 can be sent by assigning values to the variable numbers 1133 to 1135 20 to 231 The status of the writing and output signals can be read in order to offset the 1100 to 1135 1300 to 1395 output signals O...

Page 334: ...5 Register R6375 bit 6 Register R6375 bit 7 Register R6375 bit 8 Register R6375 bit 9 Register R6375 bit 10 Register R6375 bit 11 Register R6375 bit 12 Register R6375 bit 13 Register R6375 bit 14 Register R6375 bit 15 System variable No of points Interface output signal System variable No of points Interface output signal 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1...

Page 335: ...t 15 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Register R6379 bit 0 Register R6379 bit 1 Register R6379 bit 2 Register R6379 bit 3 Register R6379 bit 4 Register R6379 bit 5 Register R6379 bit 6 Register R6379 bit 7 Register R6379 bit 8 Register R6379 bit 9 Register R6379 bit 10 Register R6379 bit 11 Register R6379 bit 12 Registe...

Page 336: ...4 Output signal Macro instructions 1000 1031 Input signal 1032 R6436 R6437 1200 1231 1033 R6438 R6439 1232 1263 1034 R6440 R6441 1264 1295 1035 R6442 R6443 1100 1131 1132 R6372 R6373 1300 1331 1133 R6374 R6375 1332 1363 1134 R6376 R6377 1364 1395 1135 R6378 R6379 ...

Page 337: ... data are configured as data with a decimal point in the same way as for other variables Consequently programming as 10001 1000 results the setting 1000 000 in the tool compensation data 101 1000 10001 101 102 10001 101 1000 0 102 1000 0 H1 1000 000 After execution Programming example Common variables Tool compensation data Example 1 Calculation and tool offset data setting 1 H 1 5063 Sensor G31 G...

Page 338: ...1 5262 5263 5264 526n G57 5281 5282 5283 5284 528n G58 5301 5302 5303 5304 530n G59 5321 5322 5323 5324 532n N1 G28 X0 Y0 Z0 N2 5221 20 5222 20 N3 G90 G00 G54 X0 Y0 N10 5221 90 5222 10 N11 G90 G00 G54 X0Y0 M02 N100 5221 5221 5201 5222 5222 5202 5241 5241 5201 5242 5242 5202 5201 0 5202 0 Example 1 External workpiece offset Example 2 G54 workpiece coordinate system defined by N10 G54 workpiece coor...

Page 339: ... message CALL PROGRAMMER TEL 530 is indicated in the operator message Example of program alarm when 1 0 IF 1 NE 0 GOTO 100 3000 70 CALL PROGRAMMER TEL 530 N100 Alarm P277 Macro alarm message Operator message CALL PROGRAMMER TEL 530 70 Stops with NC alarm Note 1 Alarm number 0 is not displayed and any number exceeding 9999 cannot be indicated Note 2 The characters following the first alphabet lette...

Page 340: ...t 2 44 1011 ms approximately 7 7 years G65P9010 T ms allowable time To subprogram Local variable Entered in local variable 20 Allowable time portion DO1 END is repeated and when allowable time is reached operations jumps to M99 T 20 3001 0 WHILE 3001LE 20 DO1 END1 M99 O9010 Suppression of single block stop and miscellaneous function finish signal waiting By substituting the values below in variabl...

Page 341: ...ck of the block where thread cutting is completed During tapping with tap cycle block stop will be carried out after the operation of R point return In the case other than above block stop will be carried out after termination of the currently executing block Message display and stop By using variable number 3006 the execution is stopped after the previous block has been executed and if message di...

Page 342: ... 95 4006 4206 Inch metric G20 20 G21 21 4007 4207 Tool nose R compensation G40 40 G41 41 G42 42 4008 4208 Tool length compensation G43 43 G44 44 G49 49 4009 4209 Canned cycle G80 80 G73 to 74 G76 76 G81 to G89 81 to 89 4010 4210 Return level G98 98 G99 99 4011 4211 4012 4212 Workpiece coordinate system G54 to G59 54 to 59 4013 4213 Acceleration deceleration G61 to G64 61 to 64 G61 1 61 1 4014 4214...

Page 343: ... 4104 4304 4114 4314 Sequence number N 4105 4305 4115 4315 Program number L O Note 1 4106 4306 4116 4316 4107 4307 Tool radius compensation No D 4117 4317 4108 4308 4118 4318 4109 4309 Feedrate F 4119 4319 Spindle function S 4110 4310 4120 4320 Tool function T Note 1 The programs are registered as files When the program No file name is read with 4115 4315 the character string will be converted to ...

Page 344: ...before 5001 5002 5003 5004 5000 n Yes Machine coordinate 5021 5022 5023 5024 5020 n No Workpiece coordinate 5041 5042 5043 5044 5040 n No Skip coordinate 5061 5062 5063 5064 5060 n Yes Tool position compensation amount 5081 5082 5083 5084 5080 n No Servo deviation amount 5101 5102 5103 5104 5100 n Yes Start point coordinate of block with a macro interrupt 5121 5122 5123 5124 5120 n Yes End point c...

Page 345: ...he workpiece coordinate system 2 The end point coordinates skip coordinates and servo deviation amounts can be read even during movement However it must first be checked that movement has stopped before reading the machine coordinates and the workpiece coordinates 3 The position where the skip signal is turned ON in the G31 block is indicated for the skip coordinates The end point position is indi...

Page 346: ...drate Input coordinates of skip signal Workpiece coordinates Workpiece coordinate system Machine coordinate system Machine coordinates G31 W M For check stop and then proceed to read For reading is possible during movement The position of the skip signal input coordinates is the position in the workpiece coordinate system The coordinates in variable numbers 5061 to 5064 memorize the moments when t...

Page 347: ... recording 102 X axis measurement amount N2 X Y start point recording 103 Measurement linear segment N3 Z axis entry amount amount N4 X Y measurement Stop at skip input 5001 X axis measurement start point N5 Return to X Y start point 5002 Y axis measurement start point N6 X Y measurement incremental value calculation N7 Measurement linear segment calculation 5061 X axis skip input point N8 Z axis ...

Page 348: ...led description 1 Once variable names have been set they will not be cleared even when the power is switched off 2 Variables in programs can be quoted by their variable names In cases like this the variables should be enclosed in square parentheses Example 1 G01X POINT1 NUMBER 25 3 The variable numbers data and variable names appear on the screen of the setting and display unit Example 2 Program S...

Page 349: ...61 Control axis No on the coordinate rotation plane vertical axis 30062 Coordinate rotation center horizontal axis 30063 Coordinate rotation center vertical axis 30064 Coordinate rotation angle 30065 SIN data for the coordinate rotation angle SIN Coordinate rotation angle 30066 COS data for the coordinate rotation angle COS Coordinate rotation angle 30067 Coordinate rotation vector horizontal axis...

Page 350: ...tails of data classification Data class M System L System Remarks 00 For control For control Refer to following types 05 Group No Group No Refer to registration No 10 Tool No Tool No Refer to registration No 15 Tool data flag Method Refer to registration No 20 Tool status Status Refer to registration No 25 Life data Life time No of times Refer to registration No 30 Usage data Usage time No of time...

Page 351: ...mes 60003 Tool selected No Registration No of tool being used Spindle tool registration No If spindle tool is not data of the designated group ST 1 first tool or if ST 1 is not used the first tool of ST 0 When all tools have reached their lives the last tool 0 to 200 60004 Number of remaining registered tools No of first registered tool that has not reached its life 0 to 200 60005 Signal being exe...

Page 352: ...e or No of lives for each tool 0 to 4000 minutes 0 to 9999 times 63000 Usage data Usage time or No of uses for each tool 0 to 4000 minutes 0 to 9999 times 63500 Tool length compensation data Length compensation data set as compensation No absolute value compensation amount or increment value compensation amount method Compensation No 0 to No of tool compensation sets Absolute value compensation am...

Page 353: ...nated Group 9999 does not exist 60000 9999 Designates the group No 104 60004 104 1 4 When registration No not used is designated Group 10 has 15 tools 60000 10 Designates the group No 111 61016 101 1 5 When registration No out of the specifications is designated 60000 10 111 61017 Program error P241 6 When tool life management data is registered with G10 command after group No is designated 60000 ...

Page 354: ... group No the data of the group registered at the head of the registered data will be read 2 If a non registered group No is designated and the tool life management system variable is commanded 1 will be read as the data 3 If an unused registration No tool life management system variable is commanded 1 will be read as the data 4 Once commanded the group No is valid until NC reset ...

Page 355: ...esignated the setting is held until the parameter is designated again or until it is reset A program error P39 will occur if a parameter that does not exist is set 2 Part system No designation 100001 Always set 0 When using the PLC axis set 10 3 Axis spindle No designation 100002 a System variable for axis spindle No designation The axis No spindle No of the parameter to be read in is designated b...

Page 356: ...3ofs 1 reference position Conditions 1st axis 2nd axis 2037 G53ofs 1000 000 200 000 100002 1 Designates 1st axis 100000 2037 Designates 2037 101 100010 Reads the 1 reference position for the 1st axis 101 100 000 100002 2 Designates 2nd axis 102 100010 Reads the 1 reference position for the 2nd axis 102 200 000 3 To read each parameter for each axis and spindle 100002 1 Designates 1st spindle 10000...

Page 357: ...s spindle parameter designates the axis spindle No with one digit after the decimal point Macro contents 100000 FIX 17 Designates parameter 100002 FIX 17 10 MOD 10 Designates axis spindle No 1 100010 Reads parameter data M99 Precautions for reading parameters 1 The number of axes and spindles is the maximum number in the specifications determined by the model 2 The inch metric changeover function ...

Page 358: ...ubstituting the device designation value in this system variable If the data is read without designating this number the data will be read in the same manner as if the minimum device designation value 0 M device is designated Once designated the setting is held until the device is designated again or until it is reset A program error P39 will occur if a device that does not exist is set b Device d...

Page 359: ...e read in the same manner as if the minimum number of bytes designation value 0 bit designation is designated Once designated the setting is held until the number of bytes is designated again or until it is reset A program error P39 will occur if a number of bytes that does not exist in the specifications is set b Number of bytes designation value Read in data Operation Number of bytes designa tio...

Page 360: ...hout designating this number the data will be read in the same manner as if the minimum bit designation value 0 bit 0 is designated Once designated the setting is held until the bit is designated again or until it is reset A program error P39 will occur if a bit that does not exist is set b Bit designation values Bit designation value Read in bit 0 Bit 0 1 Bit 1 15 Bit 15 5 PLC data read 100110 Th...

Page 361: ...will be 102 292 0xFEDC 100102 4 Designates 4 bytes 104 100110 Reads M0 to M31 32 bits If M31 to M0 is 0001 0010 0011 0100 0101 0110 0111 1000 this will be 104 305419896 0x12345678 2 To read a word device 100100 1 Designates D device 100101 0 Designates Device No 0 100102 0 Designates Bit 100103 1 Designates Bit 1 100 100110 Reads the D0 bit 1 If D0 0x0102 this will be 101 1 100102 1 Designates 1 b...

Page 362: ...point For a byte a decimal value is not designated H_ Storage common variable Designates the common variable No for storing the read data Macro contents 100100 1 Designates device 100101 FIX 17 Designates device No 100102 9 Designates number of bytes 100103 FIX 17 100 MOD 100 Designates bit 11 100110 Reads PLC data M99 Precautions for reading PLC data 1 As the PLC data is read asynchronously from ...

Page 363: ...YYYYMMDD value When a YYYYMMDD value is written in it will be set as YY MM DD the last two digits of the year are displayed Command range for year month date setting Year YYYY 2000 to 2099 Month MM 1 to 12 Date DD 1 to maximum number of days in month 3012 The current time can be read and written HH MM SS is read as a HHMMSS value When an HHMMSS value is written in it will be set as HH MM DD Comman...

Page 364: ...ollowing type of program the machining start end time year month date hour minute second can be viewed 100 3011 Machining start year month date 101 3012 Machining start hour minute second G28 X0 Y0 Z0 G92 G0 X50 102 3011 Machining end year month date 103 3012 Machining end hour minute second M30 Restrictions and precautions for using time reading variable 1 3011 reads the date as an eight digit va...

Page 365: ...rctangent ATAN or ATN may be used i ACOS j Arc cosine i SQRT k Square root SQRT or SQR may be used i ABS k Absolute value i BIN k Conversion from BCD to BIN i BCD k Conversion from BIN to BCD i ROUND k Rounding off ROUND or RND may be used i FIX k Discard fractions less than 1 i FUP k Add for fractions less than 1 i LN k Natural logarithm 4 Functions i EXP k Exponent with e 2 718 as bottom Note 1 ...

Page 366: ... pair of parentheses Examples of arithmetic commands 1 Main program and argument designation G65 P100 A10 B20 101 100 000 102 200 000 1 2 101 102 10 000 20 000 100 000 200 000 2 Definition and substitution 1 1000 2 1000 3 101 4 102 5 10001 10001 10 1 2 3 4 5 1000 000 1000 000 100 000 200 000 10 000 From common variables From compensation amount 3 Addition and subtraction 11 1 1000 12 2 50 13 101 1...

Page 367: ...542 COS 45 543 1000 COS 45 544 1000 COS 45 545 1000 COS 45 546 1000 COS 45 Note COS 45 is equivalent to COS 45 541 542 543 544 545 546 0 707 0 707 707 107 707 107 707 107 707 107 11 Tangent TAN 551 TAN 60 552 TAN 60 553 1000 TAN 60 554 1000 TAN 60 555 1000 TAN 60 556 1000 TAN 60 Note TAN 60 is equivalent to TAN 60 551 552 553 554 555 556 1 732 1 732 1732 051 1732 051 1732 051 1732 051 531 432 533 ...

Page 368: ...ND 14 3 22 ROUND 14 3 23 ROUND 14 3 24 ROUND 14 3 25 ROUND 14 3 26 ROUND 14 3 27 ROUND 14 3 28 ROUND 14 3 21 22 23 24 25 26 27 28 5 5 5 5 5 5 5 5 19 Discarding fractions below decimal point FIX 21 FIX 14 3 22 FIX 14 3 23 FIX 14 3 24 FIX 14 3 25 FIX 14 3 26 FIX 14 3 27 FIX 14 3 28 FIX 14 3 21 22 23 24 25 26 27 28 4 000 4 000 4 000 4 000 4 000 4 000 4 000 4 000 20 Adding fractions less than 1 FUP 21...

Page 369: ...8988888 888 20 2345678901234 567 Performing 10 20 will not produced 10 320 87654 321 There are 8 significant digits in the variables and so the values of 10 and 20 will be as follows strictly speaking the internal values will differ somewhat from the values below because they are binary numbers 10 2345679000000 000 20 2345678900000 000 Consequently 10 20 100000 000 will generate a large error 2 Lo...

Page 370: ... used instead of i j and n In the block with sequence number n which will be executed after a GOTO n command the sequence number must always be at the head of the block Otherwise program error P231 will result If is at the head of the block and Nn follows control can be branched to the sequence number Branching to N100 when content of 2 is 1 N10 22 20 23 21 IF 2 EQ1 GOTO100 22 20 3 23 21 4 N100 X ...

Page 371: ...ating identification numbers range from 1 through 127 DO1 DO2 DO3 DO127 Up to 27 nesting levels can be used 1 Same identifier number can be used any number of times Possible Possible WHILE DO1 END1 WHILE DO1 END1 2 Any number may be used for the WHILE DOm identifier number Possible WHILE DO1 END1 WHILE DO3 END3 WHILE DO2 END2 WHILE DO1 END1 3 Up to 27 nesting levels for WHILE DOm m is any number f...

Page 372: ...WHILE DO1 10 Subprograms can be called by G22 G65 or G66 between WHILE DOm s Possible G65 L100 END1 Main program WHILE DO1 WHILE DO02 END2 G23 Subprogram M02 To subprogram 11 Calls can be initiated by G65 or G66 between WHILE DOm s and commands can be issued again from 1 Up to 27 nesting levels are possible for the main program and subprograms WHILE DO1 END 1 G23 WHILE DO1 G65 L100 END 1 Subprogra...

Page 373: ... Command sequence POPEN DPRNT PCLOS Open command Data output command Closed command Open command POPEN 1 The command is issued before the series of data output commands 2 The DC2 control code and code are output from the NC system to the external output device 3 Once POPEN has been issued it will remain valid until PCLOS is issued Close command PCLOS 1 This command is issued when all the data outp...

Page 374: ...d significant digits above and below the decimal point in the variable values are commanded within square parentheses As a result the variable values equivalent to the commanded number of digits including the decimal point are output in ISO code in decimal notation from the high order digits Trailing zeroes are not omitted 4 Leading zeroes are suppressed The leading zeroes can also be replaced by ...

Page 375: ... parallel with the execution of the executable statement The parameter can be set OFF during normal machining to process all the macro statements together or set ON during a program check to execute the macro statements block by block This enables the setting to be made in accordance with the intended objective in mind G91G28X0Y0Z0 1 G92X0Y0Z0 2 G00X 100 Y 100 3 101 100 COS 210 4 102 100 SIN 210 5...

Page 376: ...atement and so it is displayed as the next command If the N4 N5 and N6 analysis is in time during N3 control the machine movement will be continuously controlled Macro single OFF In execution N3 G00 X 100 Y 100 Next command N4 101 100 COS 210 N4 is processed in parallel with the control of the NC executable statement of N3 and it is displayed as the next command N5 and N6 is executed after N3 has ...

Page 377: ...mple 1 SIN curve G65 Ll1 Aa1 Bb1 Cc1 Ff1 a1 Initial value 0 b1 Final value 360 c1 R of SINθ f1 Feedrate SINθ Y X 100 100 0 90 270 360 180 Local variable set by argument To subprogram Note 1 Commanding with one block is possible when G90G01X 1Y 3 SIN 1 F 9 is issued G65L9910A0B360 C100 F100 1 0 2 360 000 3 100 000 9 100 000 WHILE 1LE 2 DO1 101 3 SIN 1 G90G01X 1Y 10F 9 1 1 10 END1 G23 Main program L...

Page 378: ...enter position y1 Y axis center position Note 1 Note 1 Note 1 To subprogram L9920 0 101 G90 G91 mode Read in 102 Read previous coordinates X 103 Y 104 Start angle 111 101 No of hole count 102 G90 or G91 103 X axis current position 104 Y axis current position 111 Start angle 101 No of holes 102 90 Radius COS 111 Center coordinates X 120 Radius SIN 111 Center coordinates Y 121 120 122 121 123 120 Ho...

Page 379: ...le data with the canned cycle G72 to G89 macro call is commanded as a hole position command Subprogram is on next page Y y1 W x1 X i1 G81 Zz1 Rr1 Ff1 G65Ll1 Xx1 Yy1 Ii1 Jj1 Aa1 Bb1 j1 x1 X axis hole position y1 Y axis hole position i1 X axis interval j1 Y axis interval a1 No of holes in X direction b1 No of holes in Y direction To subprogram To subprogram Y W X X Z G28 X0 Y0 Z0 T1 M06 G90 G43 Z100...

Page 380: ...nates y1 102 X axis interval i1 103 Y axis interval j1 104 No of holes in Y direction b1 106 101 X axis start point 102 Y direction interval 103 X direction interval 106 No of holes in Y direction 106 0 Y direction drilling completion check 105 0 X 101 Y 102 101 103 101 105 1 105 101 103 101 102 104 102 103 103 106 1 106 END N Y No of holes in Y direction No of holes in X direction set No of holes...

Page 381: ...cuting the program Base shape program Shape when machining program for left side is executed after the mirror command Mirror axis Y X Command format 1 For G50 1 G51 1 G51 1 Xx1 Yy1 Zz1 G50 1 Xx2 Yy2 Zz2 Mirror image ON Mirror image OFF x1 y1 z1 Mirror image center coordinates Mirror image will be applied regarding this position as a center x2 y2 z2 Mirror image cancel axis The values of x2 y2 z2 w...

Page 382: ...mage 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 on the movement to the reference position after the intermediate point Intermediate point when mirror is applied Path on which mirror is applied Intermediate point Programmed path Mirror center 6 Return from z...

Page 383: ... 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 Issue mirror cancel command here Issue mirror axis command here Mirror center Combination with other functions 1 Combinat...

Page 384: ...amfered in such a way that the positions produced by subtracting the lengths commanded by C_ from the imaginary starting and final corners which would apply if no chamfering were to be performed are connected Command format N100 G01 X__ Y__ C__ N200 G01 X__ Y__ C Length up to chamfering starting point or end point from imaginary corner Chamfering is performed at the point where N100 and N200 inter...

Page 385: ...e which has already been subjected to corner chamfering 5 When scaling is commanded scaling will also be applied to the commanded corner chamfer amount 6 Program error P381 results when there is an arc command in the block following the corner chamfering block 7 Program error P382 results when the block following the corner chamfering block does not have a linear command 8 Program error P383 resul...

Page 386: ...ed description 1 The start point of the block following the corner R serves as the imaginary corner intersection point 2 When the comma in R is not present it is handled as an R command 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 rounding 5 ...

Page 387: ... 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...

Page 388: ...lines Example N1 a2 X Z W1 N2 a1 N1 G01 Aa1 Ff1 N2 Xx1 Zz1 Aa2 End point X1 Z1 Automatic intersection point calculation Z1 x1 2 Start point a Angle formed between straight line and horizontal axis on plane The plane is the selected plane at this time Note 1 This function cannot be used when using the A axis or 2nd miscellaneous function A Command format N1 G01 Xx1 Yy1 Aa1 N1 G01 Xx2 Yy 2 A a2 A a2...

Page 389: ...on and center position or radius of the second circular arc Example G18 G02 Ii1 Kk1 Ff1 G03 Xxc Zzc Ii2 Kk2 Ff2 OR G18 G02 Ii1 Kk1 Ff1 G03 Xxc Zzc Rr2 Ff2 OR G18 G02 Rr1 Ff1 G03 Xxc Zzc Ii2 Kk2 Ff2 C xc zc r2 p2 q2 p1 q1 B r1 A I and K Incremental position from arc end point P and Q Arc center position absolute position I and K are the arc center position incremental position distances from the st...

Page 390: ...Q Arc center position absolute position H 0 Intersection with shorter line B point H 1 Intersection with longer line B point 3 Automatic calculation of arc linear intersection When it is difficult to find the intersections of a given circular arc and line the intersections are automatically calculated by programming the following blocks Example G18 G03 Ii1 Kk1 Hh1 Ff1 G01 Xxc Zzc Aa1 Ff1 r1 a1 C x...

Page 391: ...ontact is automatically calculated by programming the following blocks Example G01 Aa1 Ff1 G03 Xxc Zzc Rr1 Ff1 a1 A B r1 C xc zc 5 Automatic calculation of arc linear contact When it is difficult to find the contact of a given circular arc and line the contact is automatically calculated by programming the following blocks Example G02 Rr1 Ff1 G01 Xxc Zzc Aa1 Ff1 a1 r1 A B C xc zc ...

Page 392: ...Counterclockwise CCW I Radius of circle incremental value the symbol is ignored D Offset No The offset No and offset data are not displayed on the setting and display unit F Feedrate Detailed description 1 The symbol for the offset amount indicates reduction and indicates enlargement 2 The circle cutting is executed on the plane G17 G18 or G19 currently selected d1 offset amount d1 offset amount O...

Page 393: ... D is not issued or if the offset No is illegal the program error P170 will occur 2 If Radius I offset amount is 0 or negative the program error P233 will occur 3 If G12 or G13 is commanded during radius compensation G41 G42 the radius compensation will be validated on the path after compensating with the D commanded with G12 or G13 4 If an address not included in the format is commanded in the sa...

Page 394: ...m 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 c...

Page 395: ... IOF User macro interruption end command The user macro interrupt function is enabled and disabled by the ION and IOF commands programmed to make the user macro interrupt signal UIT valid or invalid That is if an interrupt signal UIT is input from the machine side in a user macro interrupt enable period from when ION is issued to when IOF is issued or the NC is reset a user macro interrupt is caus...

Page 396: ... G23 Hh1 is specified the blocks from the one next to the interrupted block to the last one are searched for the block with sequence number Nh1 Control thus returns to the block with sequence number Nh1 that is found first in the above search Current program User macro interrupt signal UIT Interrupt program ION a1 Nh1 IOF La1 G23 Hh1 Interrupt signal UIT not acceptable within a user macro program ...

Page 397: ...ock where the interrupt was caused If an interrupt signal UIT is input during execution of a miscellaneous function MSTB command the NC system waits for a completion signal FIN The system thus executes a move or miscellaneous function command MSTB in the interrupt program only after input of FIN Type 2 When an interrupt signal UIT is input the interrupt program will be executed in parallel with th...

Page 398: ...program block 1 block 3 block 1 block 3 block 1 block 3 User macro interrupt Interrupt program User macro interrupt Executing Type 2 block 2 block 2 block 2 Main program block 1 block 3 block 1 block 3 block 1 block 3 If the interrupted program contains no move and miscellaneous commands the interrupted program is kept executed in parallel to execution of the interrupt program block 3 The move or ...

Page 399: ...5 the local variable level changes before and after an interrupt No arguments in the main program can be passed to the interrupt program Acceptance of user macro interrupt signal UIT A user macro interrupt signal UIT is accepted in the following two modes These two modes are selected by a parameter 1112 S_TRG a Status trigger mode b Edge trigger mode Status trigger mode The user macro interrupt si...

Page 400: ...mation is changed by the interrupt program it is handled as follows after control returns from the interrupt program to the main program Returning with G23 The change of modal information by the interrupt program is invalidated and the original modal information is not restored With interrupt type 1 however if the interrupt program contains a move or miscellaneous function MSTB command the origina...

Page 401: ...mber Note 1 4519 S code 4520 T code The above system variables are available only in the user macro interrupt program If they are used in other programs program error P241 results Note 1 The programs are registered as files When the program No file name is read with 4515 the character string will be converted to a value Example 1 The file name 123 is the character string 0 31 0 32 0 33 so the valu...

Page 402: ...rent block Type 2 0 The executable statements in the interrupt program are executed before completion of execution of the current block Type 1 4 Validity of alternate M code for user macro interrupt control 1109 subs_M 1 Valid 0 Invalid Restrictions 1 If the user macro interrupt program uses system variables 5001 and after position information to read coordinates the coordinates pre read in the bu...

Page 403: ...n order G30 1 Z axis X axis Y axis added axis G30 2 Z axis X axis Y axis added axis G30 3 Z axis Y axis X axis added axis G30 4 X axis Y axis Z axis added axis G30 5 Y axis X axis Z axis added axis G30 6 X axis Y axis Z axis added axis Note 1 An arrow indicates the order of axes that begin to return An period indicates that the axes begin to return simultaneously Example Z axis X axis Y axis indic...

Page 404: ...to the tool changing position then the X axis does the same thing After that the X axis returns to the tool changing position If tool changing position return is on for an added axis the added axis also returns to the tool changing position after the X and Z axes reach the tool changing position d G30 4 command The X axis returns to the tool changing position then the Y axis and Z axis simultaneou...

Page 405: ...ed on when the added axis or axes have reached the tool changing position after the standard axes did It is then turned off when one of the X Y Z and added axes leaves the position Work program G30 3 G00X 100 T02 Arrival of Z axis to tool changing position Arrival of X Y axes to tool changing position Arrival of added axis to tool changing position Tool changing position return complete signal TCP...

Page 406: ...urning Tool end position C axis center rotation axis During arc interpolation the rotation axis turning is controlled in synchronization with the operation of arc interpolation C axis center rotation axis Tool end position Tool The normal line control I and II can be used according to the C axis turn direction during normal line control This is set by the parameters Normal line control type Turnin...

Page 407: ... Start up After the normal line control axis turns to a right angle of the advance direction at the start point of the normal line control command block the axis of the selected plane is moved 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 b During normal line control mode 1 Block se...

Page 408: ... Item Type I Type II Normal line control axis turning direction at block seam Direction that is 180 or less shortcut direction G41 1 direction CW G42 1 direction CCW Normal line control axis turning angle at block seam when θ ε is applied 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 ...

Page 409: ...2 1 397 a Normal line control type I Normal line control axis turning angle at block seam θ G41 1 G42 1 1 ε θ ε ε ε 0 180 270 90 90 θ θ No turning θ θ No turning 2 ε θ 180 ε 0 180 270 90 90 θ θ 3 180 θ 360 ε 360 ε 0 180 270 90 90 θ Shortcut direction θ Shortcut direction ...

Page 410: ... θ ε ε ε 0 180 270 90 90 θ θ No turning θ θ No turning 2 ε θ 180 ε ε 0 180 270 90 90 180 ε θ Operation error 0118 Note θ 3 180 ε θ 180 ε 180 ε 0 180 270 90 90 180 ε θ θ θ θ 3 180 ε θ 360 ε 360 ε 0 180 270 90 90 180 ε θ θ Operation error 0118 Note Note Turning operation in the command direction is performed in the inside of the workpiece Therefore an operation error will occur ...

Page 411: ...verse rate 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 speed is applied to the cutting feed clamp speed Note 3 When the rapid traverse ...

Page 412: ...mp the speed is clamped to the cutting feed clamp speed F Feed command speed f Normal line control axis turning speed parameter 1523 C_feed Continued to the next page b Cutting feed 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 fee...

Page 413: ...line control axis center to tool nose r Arc radius mm F Feed command speed R Parameter 8041 C rot R r Arc radius Normal line control axis turning speed f F 180 π R 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 Th...

Page 414: ...ock with no movement linear or radius of the arc to be inserted Corner R is not inserted During the radius compensation the radius compensation is applied to the path that the corner arc is inserted into Parameter 8042 C ins R Radius compensation path 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 St...

Page 415: ...ne 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 Relation with other functions Function name Notes Uni directional positioning Normal line control is not applied Helical cutting Normal line control...

Page 416: ...al coordinate system offset The local coordinate system cannot be changed during normal line control A program error P29 will occur Program restart The program including the normal line control command cannot be restarted E98 CAN T RESEARCH will occur Dry run The feedrate is changed by the dry run signal even in respect to the turning movement of the normal line control axis Chopping The axis cann...

Page 417: ...ollowing command movement started before the previous command finished Refer to Fig 1 2 When cutting circle commands an error occurred further inside the commanded path and the resulting cutting path was smaller than the commanded path Refer to Fig 2 Commanded path Commanded path Actual path Actual path Fig 1 Rounding at linear corners Fig 2 Radius reduction error in circle commands This function ...

Page 418: ...trol mode start High accuracy control mode cancel The G08 P1 high accuracy control mode is canceled with P0 Command G08P_ in an independent block The decimal places below the decimal point are ignored for P address Note G code group for in G08 is 0 the priority is given to the function of the G code group 0 over the function of the G code group 13 After G08 P1 is commanded G code group 13 is chang...

Page 419: ...ter 4 The modal holding state of the high accuracy control mode differs according to the combination of the base specification parameter 1151 rstint reset initial and 1148 I_G611 initial high accuracy Parameter Default state Reset Emergency stop Emergency stop cancel Block inter ruption Block stop NC alarm OT Reset initial 1151 Initial high accuracy 1148 Power ON Reset 1 Reset 2 Reset rewind Emerg...

Page 420: ...is a Because of the constant time constant acceleration deceleration the rising edge falling edge of the waveform becomes more gentle as the command speed becomes slower b The acceleration deceleration time constant can be independently set for each axis Linear type exponential function type or both can be selected Note that if the time constant of each axis is not set to the same value an error w...

Page 421: ...ion acceleration deceleration control and pre interpolation acceleration deceleration control in the high accuracy control mode Δ R R Commanded radius mm ΔR Radius error mm F Cutting feedrate mm min R F F The compensation amount of the circle radius reduction error ΔR is theoretically calculated as shown in the following table Post interpolation acceleration deceleration control normal mode Pre in...

Page 422: ...n the direction of progress after the corner is passed at a speed V θ V V Speed before entering the corner ΔV Speed change at the corner Speed after the corner is passed The corner angle V is controlled so that this ΔV value becomes less than the pre interpolation acceleration deceleration tolerable value set in the parameters 1206 G1bF 1207 G1btL In this case the speed pattern is as follows θ Y a...

Page 423: ... speed for each axis and make a composite speed so that the moving axis does not exceed this setting X axis setting value Y axis setting value Clamp value according to X axis Corner deceleration speed Speed is clamped ΔV Corner deceleration speed Speed is not clamped Note that the speed is controlled with the optimum corner deceleration speed in the following cases When the composite corner decele...

Page 424: ...on a Pre interpolation acceleration deceleration the commanded radius R is eliminated and ΔR does not rely on R ΔR 1 2R Tp2 1 Kf2 2 F 60 1 2 Tp2 1 Kf2 ΔV 1000 60 ΔR Arc radius reduction error amount Tp Position loop gain time constant of servo system Kf Feed forward coefficient F Cutting feedrate In other words with the arc command in the high accuracy control mode in logical terms regardless of t...

Page 425: ...he vector accuracy interpolation Commanded path Vector accuracy interpolation Feed forward control With this function the constant speed error caused by the position loop control of the servo system can be greatly reduced However as machine vibration is induced by the feed forward control there are cases when the coefficient cannot be increased In this case use this function together with the smoo...

Page 426: ...he delay elements caused by the position loop in the servo system can be eliminated and the logical ΔR can be set to 0 Kf 1 Feed forward gain 100 The equivalent feed forward gain to set Kf to 1 can be obtained with the following expression 100 1 1 50 2 2 fwd g _ PGN1 for conventional control 2 PGN1 for SHG control The feed forward gain can be set independently for G00 and G01 Path for post interpo...

Page 427: ...arc to reduce the machine vibration If this is overlapped with corner deceleration the function with the slower deceleration speed is valid The validity of this control can be changed with the base specification parameter 1149 cireft The deceleration speed is designated with the base specification parameter 1209 cirdcc Example 1 When not using corner deceleration Program G61 1 N1 G01 X 10 F3000 N2...

Page 428: ...rol interpolates while smoothing the changes in the segments distributed to each axis element with vector accuracy interpolation With this the fluctuation amplified by feed forward control is reduced and the effect onto the machine is reduced This can be set in the range of 0 to 200 ms with the basic specification parameter 1568 SfiltG1 and 1569 SfiltG0 With 1570 Sfilt2 this also enables the accel...

Page 429: ...08 R COMP Select is valid only when 8107 R COMPENSATION is set to 1 The compensation coefficient for each axis is designated with the axis specification parameter 2069 Rcoeff 1 Compensation in each axis direction of arc Machine end path Commanded path Machine end path Commanded path 2 Smooth compensation at entrance and exit The compensation amount is gradually increased from the arc start point t...

Page 430: ...erpolation Program error P481 During normal line control Program error P29 3 A program error P29 will occur if the following commands are issued during the high accuracy control mode Milling Cylindrical interpolation Polar coordinate interpolation Normal line control Precautions 1 The high accuracy control specifications are required to use this function If G61 1 is commanded when there are no spe...

Page 431: ...pplies under the following conditions 6 axis system including spindle or less 1 part system 3 axes or less commanded simultaneously in G01 Block containing only axis name and movement amount Macro and variable command are not included During G61 1 high accuracy control mode or during cutting mode G64 During tool radius compensation cancel G40 Only in the high speed machining mode II When the above...

Page 432: ... valid even during the high speed machining mode I II 2 When using the high speed machining mode II mode set BIT1 of the parameter 1572 Cirorp to 1 to eliminate the speed fluctuation at the seams of the arc and straight line or arc and arc Example of program High speed machining mode I G28 X0 Y0 Z0 G91 G00 X 100 Y 100 G01 F10000 G05 P1 High speed machining mode I ON X0 1 Y0 01 X0 1 Y0 02 X0 1 Y0 0...

Page 433: ...s from the workpiece 4 When carrying out operation in the high speed machining mode I II by communication or tape operation the machining speed may be suppressed depending on the program transmission speed limit 5 Command the G05 command in an independent block 6 A decimal point cannot be used for the P address in the G05 command block 7 Only P0 P1 and P2 are valid as P address in the G05 command ...

Page 434: ... segment Performance of the fine segment execution High speed high accuracy control I mode Without radius compensation With radius compensation Restriction in the program Invalid 16 8m min 16 8m min No Valid 33 6m min 33 6m min Yes Command format G05 1 Q1 High speed high accuracy control I ON G05 1 Q0 High speed high accuracy control I OFF G05 P10000 High speed high accuracy control II ON G05 P0 H...

Page 435: ...traight line or arc and arc 8 Feedrate command F is clamped with the 2110 Clamp H precision Cutting feed clamp speed for high accuracy control mode set with parameter 9 2109 Rapid H precision Rapid traverse speed for high accuracy control mode set with parameter will be valid for the rapid traverse speed 10 When 2109 Rapid H precision is set to 0 movement is performed with 2001 rapid Rapid travers...

Page 436: ...precision clamp is executed at that speed When the setting value is 0 clamp is executed with 2002 clamp 3 Corner deceleration in high speed mode During high accuracy control if the angle is large between the adjacent blocks in the machining program this function conventionally automatically decelerates so that the acceleration generated when passing through the corner is within the tolerable value...

Page 437: ... speed high accuracy control I II operation during tape operation the machining speed may be suppressed depending on the program transmission speed and the number of characters in one block 7 If there is no Q or P command in the G05 1 or G05 command block a program error P33 will occur 8 A decimal point cannot be used in the Q or P command 9 If the high speed high accuracy control I command is iss...

Page 438: ...ontrol OFF G97 User macro interrupt cancel IOF Although G05 1 Q can be commanded in the modals listed below correct movement may not be guaranteed Function G code Exact stop check mode G61 Automatic corner override Tapping mode G63 Feed per revolution G95 Constant surface speed G96 2 The following data can be commanded while the high speed high accuracy control I II mode is ON Program error will o...

Page 439: ...22 Programmable parameter input G10 L50 Programmable compensation amount input G10 L10 High speed high accuracy control I cancel G05 1 Q0 High speed high accuracy control II cancel G05 P0 Spline control G05 1 Q2 G05 1 Q0 F code command Fxxx Sequence No command Nxxx Comment command Optional block skip Miscellaneous function Note 1 Mxxx Sxxx Txxx Bxxx I J K R command for circular interpolation I J K...

Page 440: ...e features available in SSS control 1 Speed fluctuation caused by the effect of the machining disturbing blocks minute stepping or waviness is suppressed Thus scratches caused by these blocks are reduced 2 Even if corner deceleration is not required the speed is clamped if the predicted acceleration is high Furthermore the machining time can be reduced in machining applications having many corners...

Page 441: ...n 3 The machining speed may drop depending on the number of characters in one block 4 To command data other than the valid command data turn the SSS control mode OFF first Relation with other functions 1 The modals must be set as shown below when SSS control starts A program error P34 will occur if these conditions are not satisfied Modal state Function Mode Tool radius compensation mode G40 Progr...

Page 442: ... control G05 1 Q2 G05 1 Q0 F code command Fxxx Sequence No command Nxxx Comment command Optional block skip Auxiliary function Note 1 Mxxx Sxxx Txxx Bxxx I J K R command for circular interpolation I J K R Axis movement data X Y Z etc 3 The F1 digit command function cannot be used 4 Macro interruption cannot be used 5 The override maximum cutting speed clamp signal block operation and graphic trace...

Page 443: ...s not vibrate Parameter Adjustment target Effect 8022 CORNER COMP Accuracy at corner section Large setting Accuracy improves speed drops 8023 CURVE COMP Accuracy at curve section Large setting Accuracy increases speed drops 8092 ClampCoeff Accuracy at curve section Large setting Accuracy drops speed increases Note Usually use the standard value and adjust with 8023 2 Basic specification parameters...

Page 444: ...re used during SSS control the machining accuracy will not be guaranteed 4 During SSS control if override is set to 0 in the single block stop state the M01 operation error 0102 override zero will occur 5 If a fine arc command is issued during SSS control it may take longer to machine 6 A program error P33 will occur if external input mirror image is applied during SSS control 7 The same path as s...

Page 445: ...h speed high accuracy control function II mode OFF 1 The spline function carries out spline interpolation when the following conditions are all satisfied If the following conditions are not satisfied the spline function is canceled once and it is judged whether to carry out new spline from the next block When the block length is shorter than the machining parameter 8030 MINUTE LENGTH When the move...

Page 446: ...onnecting all points until it is canceled However if a corner edge is to be created or if the segment length is long and spline interpolation is not to be carried out the function can be canceled temporarily with the parameters a Cancel angle If the angle θ of two consecutive blocks exceeds the value set in parameter 8026 CANCEL ANG the spline function will be temporarily canceled and optimum corn...

Page 447: ...block is longer than the parameter 8030 MINUTE LENGTH the spline function will be temporarily canceled and the linear interpolation will be executed When this parameter is not set 0 the fine segment length will be 1mm If blocks that satisfies the following condition continue linear interpolation will be executed Segment length in a block fine segment length 8030 MINUTE LENGTH Linear interpolation ...

Page 448: ...e curve the length of the block containing the inflection point may lengthen Because the tolerance is applied at both ends near the inflection point If the block lengths with this block and the previous and subsequent blocks are unbalanced the spline curve in this block will have a large error in respect to the original curve At sections where the tolerance chord error of the fine segment block an...

Page 449: ...ock lengths are not matched the tolerance of the spline curve may increase The curve may also expand due to the effect of relatively short blocks At sections where the tolerance chord error of the fine segment block and spline curve in a block not containing an inflection point if the chord error in the corresponding section is larger than the value set in parameter 8028 Toler 2 the spline curve s...

Page 450: ... Fig 4 Spline curve after error revision In parameter Toler 2 set the tolerance for developing into fine segments with the CAM 3 Curvature speed clamp The commanded speed F for the spline function during a segment linear arc will be the speed commanded in the previously set modal However if the axis is fed with the same speed excessive acceleration may occur at the sections where the curvature is ...

Page 451: ...n deceleration time to reach the target speed Ks 8019 R COMP Accuracy coefficient Precautions 1 The spline function will be canceled during graphic check 2 This function is valid when the base specifications parameters 1267 ext03 bit0 is set to 1 If G05 1 Q2 is commanded when 0 is set program error P34 will occur 3 If the specifications for this function are not provided and G05 1Q2 is commanded t...

Page 452: ...block scratches the machining surface and might increase machining time because of acceleration deceleration This function avoids these troubles Spline interpolation The spline interpolation connects smoothly a sequence of points commanded by program As a result the glossy machining surface can be obtained and the machining time can be reduced because the frequency of the corner deceleration decre...

Page 453: ...t is not during 3 dimensional coordinate conversion modal A single block is not being executed 2 The spline function is modal command of group 13 This function is valid from G61 2 command block 3 The spline function is canceled by group 13 command G61 to G64 4 The spline function is canceled by NC reset 2 reset rewind NC reset 1 the setting which does not hold modal when NC is reset or power ON OF...

Page 454: ... Command format 1 Scaling ON G51 X__ Y__ Z__ P__ Scaling ON X Y Z Scaling center coordinates P Scaling factor 2 Scaling cancel G50 Scaling cancel x1 y1 Y sc s1 p1 s2 s3 p2 p3 X sc Scaling center p1 p2 p3 Program shape s1 s2 s3 Shape after scaling 3 When individually set the scaling factor to three basic axes G51 X__ Y__ Z__ I__ J__ K__ Scaling ON X Y Z Scaling center coordinates I Scaling factor o...

Page 455: ...int command is valid only after the G51 command When the factor is not specified in the same block as G51 the factor set with the parameter 8072 SCALING P is used When the address P and the address I J K are commanded in the same block a magnification specified by the address I J K is applied for the basic three axes And a magnification specified by the address P is applied for other axes If chang...

Page 456: ...ed axes and is not applied to the axes not specified 4 When an arc is commanded and scaling is valid for one of the two axes configuring the arc plane a program error P70 will occur 5 When M02 or M30 is commanded or when NC reset is carried out during the scaling mode the mode switches to a cancel mode 6 When the coordinate system is shifted G92 G52 command during scaling the scaling center is als...

Page 457: ...00 Tool path after 1 2 scaling Program path after 1 2 scaling Tool path when scaling is not applied Program path when scaling is not applied Y X Program N01 G92 X0 Y0 Z0 N02 G90 G51 X 100 Y 100 P0 5 N03 G00 G43 Z 200 H02 N04 G41 X 50 Y 50 D01 N05 G01 Z 250 F1000 N06 Y 150 F200 N07 X 150 N08 G02 Y 50 J50 N09 G01 X 50 N10 G00 G44 Z0 N11 G40 G50 X0 Y0 N12 M02 ...

Page 458: ...uniform regardless of scaling 4 Workpiece coordinate system switching When the workpiece coordinate system is switched during scaling the scaling center is shifted by the difference between the offset amounts of the new and old workpiece coordinate systems 5 During figure rotation When scaling is commanded during figure rotation scaling is applied to the center of the figure rotation and the rotat...

Page 459: ...ordinate rotation command and the rotated shaped machined Command format 1 Coordinate rotation ON G68 1 X__ Y__ R__ Coordinate rotation ON G68 1 Coordinate rotation command X Y Rotation center coordinates Two axes X Y or Z corresponding to the selected plane are designated with absolute positions R Rotation angle The counterclockwise direction is Select the command plane with G17 to G19 2 Coordina...

Page 460: ...mmanded Thus the rotation angle r1 can be omitted If the rotation angle is omitted in spite that G68 1 is commanded for the first time r1 will be regarded as 0 6 The program coordinate rotation is a function used on the local coordinate system The relation of the rotated coordinate system workpiece coordinate system and basic machine coordinate system is shown below 6 The coordinate rotation comma...

Page 461: ...60 Coordinate rotation ON N05 G22 H101 Subprogram execution N06 G69 1 Coordinate rotation cancel N07 G54 G52 X0 Y0 Local coordinate system cancel N08 M02 End Subprogram Shape programmed with original coordinate system N101 G00 X 100 Y 40 N102 G83 X 150 R 20 F100 N103 G00 Y40 N104 G83 X 150 R 20 F100 N105 G23 100 Actual machining shape Programmed coordinates 100 100 Y X 100 200 100 N101 N102 N103 N...

Page 462: ... Coordinate rotation ON N04 X50 N05 Y50 N06 G69 1 Coordinate rotation cancel N07 M02 End Local coordinate system before rotation Local coordinate system after rotation N04 Y X X Y N05 Rotation center X 10 Y 10 Machine movement path The start point is rotated virtually X Y 50 50 Start point X Y 0 0 X 50 Y 50 X Y 40 40 2 When 19003 PRG coord rot type is 0 only axis commanded in N04 X Axis is moved T...

Page 463: ...nter Workpiece coordinate system The start point is rotated virtually N06 Y X X Y Workpiece coordinate system Y X X Y Workpiece coordinate system Local coordinate system Start point X Y 10 30 X Y 20 30 Local coordinate system Local coordinate system Start point X Y 10 10 X Y 20 10 X Y 20 30 X Y 20 10 X Y 10 30 X Y 20 10 X Y 20 10 Local coordinate system Y 20 X 20 X 30 Y 10 X 30 Y 10 Y 1 Y 1 X 40 Y...

Page 464: ...0 X Y X Y 10 10 G68 1 X0 Y0 R30 G0 X10 Y10 G92 X0 Y0 G54 0 0 X Y X Y 10 10 G92 shift amount Command position Position after rotation 2 When 19003 PRG coord rot type is 1 it is on the coordinate system before coordinates rotation that the current position is preset to the command position Then the coordinate system is rotated Ex Setting on the coordinate system X Y after coordinate rotation G54 0 0...

Page 465: ... traverse rates If the axis must be moved linearly interpolated from the start point to the end point such as during the hole machining cycle always turn G00 non interpolation OFF parameter 1086 GOIntp 0 The feedrate in this case is the composite speed of each axis rapid traverse rate so the movement speed will be faster than when moving only one axis before coordinate rotation 7 If the coordinate...

Page 466: ...tation is commanded during the pole coordinate interpolation mode 4 Program error P485 will occur if cylindrical interpolation is commanded during the coordinate rotation mode 5 Program error P481 will occur if coordinate rotation is commanded during the cylindrical interpolation mode 6 Program error P34 will occur if the workpiece coordinate system preset G92 1 is commanded during the coordinate ...

Page 467: ...olled to rotate the machining program coordinates according to the workpiece alignment line deviation The coordinate rotation amount is set with the parameters The parameter can be set on the parameter setting screen or with the G10 command Note that when the G10 command is used the separate additional specification parameter input by program is required The following is in the case where G10 comm...

Page 468: ...creen Command range 360 000000 to 360 000000 Set the vector contents to 0 when commanding coordinate rotation angle Parameters specified in the parameter setting screen can be changed from the machining program Detailed description 1 As for the rotation center coordinate position designate the position on the machine coordinate system 2 All workpiece coordinate systems from G54 to G59 rotate with ...

Page 469: ...e machining N13 G22 H101 N14 G27 X0 Y0 Z0 N15 M02 Machining shape program N101 G91 G01 G42 D01 F300 N102 X100 N103 G03 Y50 R25 N104 G01 X 100 N105 G03 Y 50 R25 N106 G01 G40 N107 G23 Precautions 1 If rotation angle zero is commanded while carrying out coordinate rotation it will be canceled at the next movement command regardless of the G90 or G91 setting 2 Command the first movement after this com...

Page 470: ...with normal program commands An option is required to validate this function If the 3 dimensional coordinate conversion is commanded when the option is not added a program error will occur Y X Machine coordinate system X Y Workpiece coordinate system G68 1 program coordinate system Z Z When the G68 1 command is issued the zero point is shifted by the command value x y z in respect to the current l...

Page 471: ...ram coordinate rotation command will be valid 4 Set 1 in only one of I J and K and set 0 for the other two The program error P33 will occur if 1 is set in two or more 5 The program error P33 will also occur if 0 is set for all I J and K 6 When addresses I J and K are not designated this will be handled as the program coordinate rotation 7 If a number other than 0 including two digit numbers is des...

Page 472: ...e currently set local coordinate system The new G68 1 program coordinate system A in the figure above rotated 30 in the counterclockwise direction using the Y axis as the center is set 2 With N2 the origin is shifted by x y z 0 10 0 in respect to the newly set G68 1 program coordinate system A in the figure above The new G68 1 program coordinate system B in the figure above rotated 45 in the count...

Page 473: ...inate system cannot be created G52 on the G68 1 program coordinate system If G52 is issued the program error P921 will occur 5 G68 1 program coordinate system can be reset either by G69 1 command or reset inputting Exclude reset 1 when 0 is set to the parameter 1151 rsint Rotation angle 1 For the rotation angle the counterclockwise direction looking at the rotation center from the plus direction o...

Page 474: ... axis and Y axis each commands must be issued as in Example 2 but Example 1 Example 1 G68 1 X0 Y0 Z0 I1J0K0 R90 G68 1 X0 Y0 Z0 I0J1K0 R90 X axis rotation 90 Y axis rotation 90 Th Y axis designated here is the same as the Z axis in the original coordinate system Example 2 G68 1 X0 Y0 Z0 I1J0K0 R90 G68 1 X0 Y0 Z0 I0J0K1 R 90 X axis rotation 90 Z axis rotation 90 Th Z axis 90 rotation designated here...

Page 475: ...n around X axis J designation rotation around Y axis K designation rotation around Z axis 1 0 0 0 0 cosR sinR 0 0 sinR cosR 0 0 0 0 1 cosR 0 sinR 0 0 1 0 0 sinR 0 cosR 0 0 0 0 1 cosR sinR 0 0 sinR cosR 0 0 0 0 1 0 0 0 0 1 Tn conversion row 1 0 0 0 0 1 0 0 0 0 1 0 x y z 1 x y z I J K R Rotation center coordinates parallel movement amount Rotation axis selection Rotation angle ...

Page 476: ...0 Y 0 Arc center X 50 Y 0 Y Y X 100 Y 0 Arc center X 50 Y 0 End point X 100 Y 0 X X Program error Example in which program error P70 occurs G90 G28 X0 Y0 Z0 F3000 G17 G68 1 X100 Y0 Z0 I0 J0 K1 R0 G02 X100 I50 No 3 dimensional coordinate conversion In 3 dimensional coordinate conversion Current position 2 For the arc in which the arc radius is specified with R If the center coordinate has been devi...

Page 477: ...0 X100 Y200 Z200 Move to 100 200 200 with rapid traverse N03 G02 X100 Y400 J100 F1000 Carry out arc cutting on workpiece top N04 G00 Z300 Escape in Z direction at 100 rapid traverse N05 G68 1 X0 Y0 Z200 I0 J1 K0 R90 After shifting program coordinate system to 0 0 200 rotate coordinate axis 90 in Y axis direction Set the program coordinate system X Y Z which has been rotated 90 in the Y axis direct...

Page 478: ...8 G34 X100 Y200 I90 J270 K10 Bolt hole cycle N09 G80 Drilling cancel N10 G91 G00 X 200 Move 200 from machining end point to X axis direction with rapid traverse N11 G90 G52 X0 Y0 Z0 Cancel local coordinate system N12 G90 G00 X0 Y0 Z0 Position to workpiece zero point N13 G00 X100 Y100 Z 400 Move to 100 100 400 with rapid traverse N14 G68 1 X100 Y100 Z 400 I0 J1 K0 R90 Set G68 1 program coordinate s...

Page 479: ...3 4 3 dimensional circular interpolation CCW P921 P922 P923 G04 Dwell c G04 valid G68 1 ignored G05 P0 High speed machining mode cancel c P923 G05 P1 2 High speed machining mode I II P34 illegal G code P34 illegal G code P923 G05 P10000 High speed high accuracy control II P34 illegal G code P34 illegal G code P923 G05 1 Q0 High speed machining mode High speed high accuracy control cancel c c P923 ...

Page 480: ... position return 1 c G30 1 valid G68 1 ignored G30 2 Tool position return 2 c G30 2 valid G68 1 ignored G30 3 Tool position return 3 c G30 3 valid G68 1 ignored G30 4 Tool position return 4 c G30 4 valid G68 1 ignored G30 5 Tool position return 5 c G30 5 valid G68 1 ignored G30 6 Tool position return 6 c G30 6 valid G68 1 ignored G31 Skip c P923 G31 1 Multi step skip 1 c P923 G31 2 Multi step skip...

Page 481: ...crease c P923 G46 Tool position compensation decrease c P923 G47 Tool position compensation 2 fold increase c P923 G48 Tool position compensation 2 fold decrease c P923 G43 1 Tool length compensation in tool axis direction P927 P931 P923 G43 4 G43 5 Tool center point control type 1 2 ON P941 P922 P923 G50 Scaling cancel P921 P923 G51 Scaling ON P921 c P923 G50 1 Mirror image cancel c P923 G51 1 Mi...

Page 482: ...y program G66 User macro Modal call A c c Update modal only Coordinate rotation by program G66 1 User macro Modal call B c Update modal only Coordinate rotation by program Update modal only Coordinate rotation by program G67 User macro Modal call cancel c c Update modal only after macro Coordinate rotation by program Coordinate rotation by program ON P921 P922 G68 1 3 dimensional coordinate conver...

Page 483: ...ycle Balling c P922 P923 G87 Fixed cycle Back balling c P922 P923 G88 Fixed cycle Balling c P922 P923 G89 Fixed cycle Balling c P922 P923 G90 Absolute value command c c c G91 Incremental value command c c c G92 Coordinate system setting P921 P923 G94 Asynchronous feed Feed per minute c c c G95 Synchronous feed Feed per revolution c c c G96 Constant surface speed control ON P921 P922 P923 G97 Const...

Page 484: ...ill be returned without the 3 dimensional coordinate conversion carried out 5 Tool position return 3 dimensional coordinate conversion is not carried out for the tool change position even if a command from G30 1 to G30 6 is issued in the 3 dimensional coordinate conversion modal The return order and position will be the same as machine coordinate system 6 Tool compensation When executing the tool ...

Page 485: ...on Move ment 3 11 Synchronous tapping cycle The Synchronous tapping cycle in the 3 dimensional coordinate conversion modal will not function even if 1223 BIT3 synchronous tapping in position check expansion valid is valid Set the synchronous tapping cycle to invalid 12 Geometric command Geometric command can be issued in the 3 dimensional coordinate conversion modal However if the geometric comman...

Page 486: ...r 1561 3Dcdc In the same manner absolute value can be displayed on the special display Note 1um of display deviation may occur during the 3 dimensional coordinate conversion however this is normal 19 Remaining command display Whether the remaining commands in the 3 dimensional coordinate conversion modal to be displayed in the workpiece coordinate system or in the G68 1 program coordinate system c...

Page 487: ...e coordinate system In the case of using the table tilt type the tool center point is controlled so that it moves on the programmed path specified on the table coordinate system a coordinate system which rotates together with a workpiece Tool center point control OFF and tool length compensation along the tool axis ON Tool center point control ON Rotation center Rotation center Path of the tool ce...

Page 488: ...Rotary axis movement command Workpiece surface angle vector Tool length offset number Note 1 When orthogonal coordinate axis movement command or rotary axis movement command is not issued in the same block start up without movement command is applied No movement for the offset amount Note 2 Commands to I J and K will be ignored during the tool center point control type1 Note 3 Rotary axis movement...

Page 489: ...t time fixed to the table is specified as the programming coordinate system Table coordinate system rotates along the table rotation and not the tool axis rotation The subsequent X Y Z addresses are considered to have been issued on the table coordinate system When a rotary axis movement is commanded in a block prior to G43 4 G43 5 command the angle generated by rotary axis movement is regarded as...

Page 490: ...ment command When orthogonal coordinate axis command is issued in the same block a Tool center point control type1 type2 When the tool center point control is ON the tool center point moves only as much as it is ordered under the incremental value command Tool tilt G91 Incremental value G43 4 Yy Zz Hh or G43 5 Yy Zz Hh Y Z A axis Y Z Table tilt G91 Incremental value G43 4 Yy Zz Hh or G43 5 Yy Zz H...

Page 491: ...axis i j k 3 Start up with movement command When rotary axis command is issued in the same block a Tool center point control type1 In the case of using the tool tilt type the orthogonal axis moves according to the rotary axis angle while fixing the tool center point to the center In the case of using the table tilt type the orthogonal axis moves so that the tool center point locates on the rotated...

Page 492: ...vement Tool tilt G44 Y Z A axis Table tilt G44 Y Z A axis No movement 2 Cancellation with movement command When orthogonal coordinate axis command is issued in the same block a Tool center point control type1 type2 Cancellation movement for the compensation amount is not performed regardless of absolute incremental value command Orthogonal coordinate axis movement command is executed upon cancella...

Page 493: ...ilt G44 Aa Hh Y Z A axis Table tilt G44 Aa Hh Y Z A axis During tool center point control 1 Tool center point control type1 a When executing movement command to the orthogonal coordinate axis and rotary axis G90 G43 4 Yy1 Zz1 Aa1 Hh Yy2 Aa2 Yy3 Aa3 Tool center point moves on the tracks as programmed Table coordinate system Z A axis a1 z1 y1 y2 y3 a2 0 a3 Y b When executing movement command to the ...

Page 494: ...e system Z A axis z1 y1 y2 y3 i1 j1 k1 Y i2 j2 k2 i3 j3 k3 b When executing workpiece surface angle vector command only G43 5 Yy1 Zz1 Ii1 Jj1 Kk1 Hh Yy2 Ii2 Jj2 Kk2 Yy3 Ii3 Jj3 Kk3 When executing workpiece surface angle vector command only the orthogonal axis moves without moving the tool center point Table coordinate system z1 i1 j1 k1 A axis a3 y1 y3 y2 i2 j2 k2 i3 j3 k3 Z Y Feedrate during tool...

Page 495: ...rates of each rotary axis will not be constant Z Z Y Y φ Unit vector vertical to r1 r2 plane O Start point command vector r1 End point command vector r2 b Operations Example Current position Aa C0 When commanding G90 Yy A a C45 or G90 Yy Ii Jj Kk Tool tilt type Y Z ø Table tilt type Y Z Z ø Z Z Y Y Y Combined type Y Z Y Z Z Z Y ø 2 Joint interpolation A movement from a start point angle vector r1 ...

Page 496: ...by 180 degrees one another Determine which one of the two movements are to be selected with parameter The figures below are the example of movements seen during tool center point control type 2 When the tool center point side rotary axis moves in the sign direction from the starting position Fig a Fig b is representing passing singular point type1 When the tool center point side rotary axis moves ...

Page 497: ...ilt type X C axis rotates 180 Y Z Singular point When passing the neighborhood of the singular point C axis rotates 180 within the parameter 7907 CHK_ANG Judging angle for the singular point neighborhood Fig a Table tilt type C axis rotates 180 Z Z Y Y Singular point When passing the neighborhood of the singular point C axis rotates 180 within the parameter 7907 CHK_ANG Judging angle for the singu...

Page 498: ...piece have the same rotary movement amount select the one with the tool base side rotary axis or the table workpiece side rotary axis that are to be rotated in the minus coded direction Tool tilt type X Y Z Fig a C axis does not rotate 180 when passing the neighborhood of the singular point Table tilt type Z Z Y Y Y Z Fig b C axis does not rotate 180 when passing the neighborhood of the singular p...

Page 499: ...inus direction of the tool center point side rotary axis or the table base side rotary axis Select the one with the same coded end point as the start point of the tool center point side rotary axis or the table base side rotary axis Single axis rotation inter polation G43 5 IJK command Type 2 Select the one with the smaller movement amount of the tool base side rotary axis or the table workpiece s...

Page 500: ...he intermitted rotary axis command See the following image Machine position rotation center Without tool angle shift With tool angle shift Tool center point Tool center point needs to be shifted at constant speed in spite of the tool angle shift P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 When rotary axis prefiltering is disabled As shown below the rotary axis prefiltering...

Page 501: ...te Perform tool center point control at a rapid traverse feed rate Perform tool center point control at a rapid traverse feed rate G01 Linear interpolation Switched to a cutting feed rate and then tool center point control is performed at the rate Perform tool center point control at a cutting feedrate Perform tool center point control at a cutting feedrate Circular interpolation P942 P941 P941 G0...

Page 502: ...th 5 axes simultaneously P33 G06 2 NURBS interpolation P942 P NURBS general error P941 G07 Hypothetical axis interpolation Not implemented P942 P941 G07 1 G107 Cylindrical Interpolation P942 P941 P941 P0 Tool center point control is performed in the cutting mode Tool center point control is performed in the cutting mode P33 G08 Note 2 P1 High accuracy control Tool center point control is performed...

Page 503: ... G29 Start position return P942 The tool center point control is ignored as the start position return becomes valid G30 2nd 3rd 4th reference position return P942 The tool center point control is ignored as the 2nd 3rd 4th reference position return becomes valid G30 1 G30 6 Tool change position return 1 to 6 P942 P941 G31 Skip P942 P941 G31 1 G31 3 Multi step skip function P942 P941 G33 Thread cut...

Page 504: ...n offset P942 P941 G50 G51 Scaling P942 P941 P942 G50 1 G51 1 G62 Mirror image P942 P941 P941 G52 Local coordinate system setting P942 The tool center point control is ignored as the local coordinate system setting becomes valid G53 Machine coordinate system selection P942 The tool center point control is ignored as the machine coordinate system selection becomes valid G54 G59 G54 1 Workpiece coor...

Page 505: ...dinate rotation P942 P941 P941 G68 1IiJjKk G69 1 3 dimensional coordinate conversion P922 P941 P923 G70 G89 Fixed cycle P942 The tool center point control is ignored as the start fixed cycle becomes valid The tool center point control is ignored as the start fixed cycle becomes valid G90 G91 Absolute Incremental value command The modal is switched to the specified absolute incremental value comman...

Page 506: ...ol Axes unrelated to the tool tilt or table tilt can be controlled 5 Manual reference position return Do not perform manual reference position return during tool center point control If performed the tool moves off the programmed track 6 Machining time calculation Machining time calculation is not performed accurately on the machining program in which the cool center point control mode is commande...

Page 507: ... command When A axis is used as a rotary axis the linear angle command cannot be executed When A axis is not used as a rotary axis tool center point control becomes valid to the shape after the linear angle command 18 Geometric command When A axis is used as a rotary axis the geometric command cannot be executed If executed a program error When A axis is not used as a rotary axis tool center point...

Page 508: ...erride is applied to the feedrate at the tool center point When the federate is clamped the override is applied to the clamp speed 31 Manual reference position return If the manual reference position return is performed during the tool center point control the tool moves off the programmed track after that 32 Dry run Dry run is applied to the speed at the tool center point 33 NC reset Immediately ...

Page 509: ... independently The timing 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 Simultaneous and independent operation Timing synchronization Simultaneous and independent operation Timing synchronization 2nd par...

Page 510: ...ously 1st part system program 2nd part system program Pi1 Pn1 Pn2 Pi2 Pn1 Pi1 Pi2 Pn2 1st part system 2nd part system Waiting Starts simultaneously Timing synchronization L__ L__ 2 The timing synchronization command 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...

Page 511: ...is done only while the part system to be synchronized is operating automatically If this is not possible the timing synchronization command will be ignored and operation will advance to the next block 5 The L command is the synchronizing identification No The same Nos are synchronized but when they are omitted the Nos are handled as L0 6 SYN will appear in the operation status section during timin...

Page 512: ...__ Y__ Z__ End point error check cancellation G69 End point error check cancellation G69 command is unmodal G03 Commands such as circular command X Y Z End point of the circular commands Though this point is illegal at usual it will not be regarded as the error point by using G69 Detailed description 1 Circular cutting including helical interpolation If the end point does not exist on the circumfe...

Page 513: ...plication and its start or end point exists on the center line Taper can be carried out by incrementing or decrementing the circular radius The pitch is determined by z1 p1 0 x1 X Z Y z1 p1 G69 G02 X x1 Y0 Zz1 I x1 Pp1 Ff1 x1 Bottom radius z1 Height p1 Number of pitches f1 Feedrate 2 Tool radius compensation When some changes such as the compensation amount occur in the circular interpolation moda...

Page 514: ...preceding block The absolute coordinate system set by G92 Not contained Enabled 1 Machine coordinates Basic machine coordinate system Contained Disabled 2 Zero point of the current workpiece coordinate system Workpiece coordinate system Contained Disabled 3 TLM coordinates The point where TLM switch is turned OFF to ON at machine stop is used as the zero point of the TLM coordinate system Containe...

Page 515: ... 200 150 100 50 N3 N4 N5 Workpiece coordinate system after execution of N5 G92 Position after execution of N5 N10 TLM coordinate system TLM switch ON Basic machine coordinate system Coordinate system after execution of N4 Coordinates P command value Read coordinates Compensation amount End point position of the immediately preceding block No p command is given or a value other than 1 to 4 is speci...

Page 516: ...G14 X100 Y101 P4 N6 G00 Y0 N7 G31 X0 N8 G14 X110 Y111 P4 N9 M02 The coordinates read by the above program is as follows 100 75 ε 101 75 ε 110 25 ε 111 75 ε Note1 ε is an error caused by response delay For details see the section of skip function Note2 The skip signal input coordinates of N4 block will be read to 111 because there is no Y command in the N7 block Precautions 1 The program error P241...

Page 517: ...ons but when an additional axis is added up to four axes can be controlled Pre determined alphabetic coordinate words that correspond to the axes are used to designate each machining direction For XY table Program coordinates Table movement direction Table movement direction Bed XY table Z Z Y X X Y Workpiece For XY table Program coordinates Table movement direction Table rotation direction Z C X ...

Page 518: ...workpiece coordinate systems are used for programming and in these systems the reference position on the workpiece is set as the coordinate zero point The local coordinate systems are created on the workpiece coordinate systems and they are designed to facilitate the programs for parts machining R 1 Reference position M W1 W2 Local coordinate system W4 Workpiece 4 coordinate system M R 1 W3 Workpi...

Page 519: ...t to the machine and is determined by the reference zero position return 2nd 3rd and 4th reference positions relate to the position of the coordinates which have been set beforehand by parameter from the zero point of the basic machine coordinate system 2nd reference position Basic machine coordinate system Machine zero point Local coordinate system Workpiece coordinate system 1st reference positi...

Page 520: ...c or manual reference zero position return 2 The basic machine coordinate system is not changed by the G92 command 3 The G53 command is valid only in the block in which it has been designated 4 In the incremental value command mode G91 the G53 command provides movement with the incremental value in the coordinate system being selected 5 Even if G53 is commanded the tool radius compensation amount ...

Page 521: ...0 WG54 100 200 300 200 100 50 100 100 50 WG54 R M R M For example if G92X 0 Y 0 is commanded the workpiece coordinate system will be newly created Tool position Basic machine coordinate system 2 By commanding G92 the absolute value workpiece coordinate system and current position display value can be preset in the command value without moving the machine 1 After the power is turned on the first re...

Page 522: ...4 to G59 2 The parameters related to the coordinate system all provide the distance from the zero point of the basic machine coordinate system Therefore it is decided at which position in the basic machine coordinate system the first reference position should be set and then the zero point positions of the workpiece coordinate systems are set 3 When the automatic coordinate system setting function...

Page 523: ...mmanding G29 the axes are first positioned independently at high speed to the G28 or G30 intermediate point and then positioned by G0 at the commanded position Reference position Machine zero point 0 0 0 0 G28 G28 G29 G29 G30 G30P3 G30P4 G30P2 x1 y1 z1 α1 Intermediate point x2 y2 z2 α2 Start point 3rd reference position 4th reference position x3 y3 z3 α3 2nd reference position Command format G28 X...

Page 524: ...utput and also 1 appears at the axis name line on the setting and display unit screen 4 The G29 command is equivalent to the following G00 Xx1 Yy1 Zz1 αα1 G00 Xx2 Yy2 Zz2 αα2 Rapid traverse non interpolation type applies independently for each axis for the positioning from the reference position to the intermediate point In this case x1 y1 z1 and α1 are the coordinates of the G28 or G30 intermedia...

Page 525: ...fter power has been switched on 2nd and subsequent operations 2nd and subsequent operations 1st operation after power has been switched on Rapid traverse rate Near point dog Reference zero position 1 x1 z1 Intermediate point Reference zero position 1 R R Return start position G0Xx3Zz3 G0Xx1 Zz1 Example1 G28 Xx1 Zz1 ...

Page 526: ...ate point x1 z1 G0 Xx2 Zz2 x2 z2 Reference zero position 1 Present position Old intermediate point x1 z1 C G29 B G28 A D G30 New intermediate point x3 z3 2nd reference zero position 2 R1 R2 x2 z2 Example 3 G28 Xx1 Zz1 From point A to reference zero position G30 Xx2 Zz2 From point B to 2nd reference zero position G29 Xx3 Zz3 From point C to point D ...

Page 527: ...Function and purpose The tool can return to the second third or fourth reference zero position by specifying G30 P2 P3 or P4 2nd reference position Reference position G28 G28 G29 G29 G30 G30P3 G30P4 G30P2 x1 y1 z1 α1 Intermediate point Start point 3rd reference position 4th reference position Command format G30 P2 P3 P4 Xx1 Yy1 Zz1 αα1 αα1 Additional axis ...

Page 528: ...inates refer to the positions specific to the machine and these can be checked with the setting and display unit 4 If G29 is specified after completion of returning to the second third and fourth reference zero positions the intermediate position used last is used as the intermediate position for returning by G29 Intermediate point x1 y1 1st reference zero position 3rd reference zero position R 3 ...

Page 529: ...ro position will be ignored When the designated axis reaches as far as the intermediate point the next block will be executed 8 With second third and fourth reference zero position returns in the mirror image mode mirror image will be valid from the start point to the intermediate point and the tool will move in the opposite direction to that of the command However mirror image is ignored from the...

Page 530: ... is possible to check whether the tool has returned to the reference position after the program has been run Command format G27 X__ Y__ Z__ P__ G27 X Y Z P Check command Return control axis Check number P1 1st reference position check P2 2nd reference position check P3 3rd reference position check P4 4th reference position check Detailed description 1 If the P command has been omitted the first re...

Page 531: ...ommanded coordinates The present position of the tool includes the compensation amounts for tool radius tool length and tool position 4 An imaginary machine coordinate system with coordinates which have been commanded by the present position of the tool is set by this command The present position of the tool includes the compensation amounts for tool diameter tool length and tool position compensa...

Page 532: ...en the power is switched ON 3 Commands G54 through G59 and G54 1P1 through G54 1P96 are modal commands group 12 4 The coordinate system will move with G92 in a workpiece coordinate system 5 The offset setting in a workpiece coordinate system denotes the distance from the zero point of the basic machine coordinate system G55 reference position zero point Reference position zero point return positio...

Page 533: ...l occur G10 L20 Pn Xx Yy Zz n 1 to 96 Set the offset amount in the designated workpiece coordinate system Others The program error P35 will occur G10 L20 Xx Yy Zz Set the offset amount in the currently selected workpiece coordinate system When in G54 to G59 modal the program error P33 will occur G10 Pn Xx Yy Zz Set the offset amount in the designated coordinate system No by P code When the current...

Page 534: ...te system the new workpiece coordinate system will be set at a position which deviates from that imaginary basic machine coordinate system by an amount equivalent to the workpiece coordinate system offset amount 10 When the first automatic G28 or manual reference zero position return is completed after the power has been switched on the basic machine coordinate system and workpiece coordinate syst...

Page 535: ...51 8001 to 800n P75 7041 to 704n P 4 7061 to 706n P28 7541 to 754n P52 8021 to 802n P76 7061 to 706n P 5 7081 to 708n P29 7561 to 756n P53 8041 to 804n P77 7081 to 708n P 6 7101 to 710n P30 7581 to 758n P54 8061 to 806n P78 7101 to 710n P 7 7121 to 712n P31 7601 to 760n P55 8081 to 808n P79 7121 to 712n P 8 7141 to 714n P32 7621 to 762n P56 8101 to 810n P80 7141 to 714n P 9 7161 to 716n P33 7641 t...

Page 536: ...irst reference position coordinate is zero the basic machine coordinate system zero point and reference zero position return position 1 will coincide Example 2 Present position M 500 1000 1500 X G55 1000 500 Y G54 Y G55 W2 500 11 6 5 4 3 2 1 10 7 8 9 1 G28X0Y0 2 G90G00G53X0Y0 3 G54X 500 Y 500 4 G01G91X 500F 100 5 Y 500 6 X 500 7 Y 500 8 G90G00G55X0Y0 9 G01X 500 F200 10 X0Y 500 11 G90G28X0Y0 X G54 ...

Page 537: ... 500Y 500 Amount by which workpiece coordinate system deviates 4 G92 X0 Y0 New workpiece coordinate system is set 5 G22 L1111 New G55 coordinate system 1 Reference zero position return position Present position Old G55 coordinate system Old G54 coordinate system M X G55 X Y G54 Y G55 X G55 Y G54 Y G55 Y X X G54 W2 W1 4 3 2 1 G54 New G54 coordinate system Note The workpiece coordinate system will s...

Page 538: ...900 000 Y 100 000 G58 6 X 900 000 Y 500 000 G59 2 Machining program subprogram L100 N1 G90 G0 G43X 50 Y 50 Z 100 H10 Positioning N2 G01 X 200 F50 Y 200 X 50 Y 50 N3 G28 X0 Y0 Z0 N4 G98 G81 X 125 Y 75 Z 150 R 100 F40 1 X 175 Y 125 2 X 125 Y 175 3 X 75 Y 125 4 G80 N5 G28 X0 Y0 Z0 N6 G98 G84 X 125 Y 75 Z 150 R 100 F40 1 X 175 Y 125 2 X 125 Y 175 3 X 75 Y 125 4 G80 G23 Tapping Surface cutting Drilling...

Page 539: ...dinate System Setting and Offset 527 W2 X Y G55 Workpiece 2 W4 X Y G57 Workpiece 4 W6 X Y G59 Workpiece 6 W3 X Y G56 Workpiece 3 W5 X Y G58 Workpiece 5 W1 X Y G54 Workpiece 1 125 200mm 175 50mm 125 175 500mm 100mm 100mm 500mm 900mm X Y 0 M 4 3 2 1 200mm 50 75 75 ...

Page 540: ...1 P24 P23 P17 P18 P19 P20 P21 P22 P25 P26 P32 P31 P30 P29 P28 P27 P40 P39 P33 P34 P35 P36 P37 P38 P41 P42 P48 P47 P46 P45 P44 P43 L1000 G28 XYZ 100 1 G90 WHILE 100LE48 D01 G54 1 P 100 G22 L1001 100 100 1 END1 G28 Z G28 XY M02 Reference position return Initialize added workpiece coordinate system subprogram No Absolute value mode Repeat subprogram No to 48 Set workpiece coordinate system Call sub p...

Page 541: ...lute value mode Position table to face 1 Load workpiece offsets Drilling Position table to face 2 Position table to face 3 Position table to face 4 Return to reference position L2001 Transmission of workpiece offsets 2 5221 3 1 1 20 7001 5 0 WHILE 5 LT 6 DO1 6 6 1 7 7 1 Leading No of workpiece coordinate system variables Leading No of added workpiece coordinate system variables No of sets counter ...

Page 542: ...set 530 L2002 Drilling G54 G22 H100 Drilling in G54 coordinate system G55 G22 H100 In G55 G56 G22 H100 In G56 G57 G22 H100 In G57 G58 G22 H100 In G58 G59 G22 H100 In G59 G28 Z0 G23 N100 G98 G81 X 20 Y 15 Z 150 R5 F40 Fixed cycle for drilling call X 25 Y 20 X 20 Y 25 X 15 Y 20 G80 G28 Z G23 ...

Page 543: ...hanging the zero point positions of the workpiece coordinate systems G54 to G59 2 The local coordinate system offset will be cleared by the dog type manual reference zero position return or reference zero position return performed after the power has been switched ON 3 The local coordinate system is canceled by G54 to G59 G52X0 Y0 Z0 α0 4 Coordinate commands in the absolute value G90 cause the too...

Page 544: ...ition return operation must be commanded Example 2 Local coordinates for incremental value mode The local coordinate system offset is cumulated 1 G28X0Y0 2 G92X0Y0 3 G91G52X500Y500 4 G22L100 5 G52X1 Y1 6 G22L100 7 G52X 1 5 Y1 5 8 G00G90X0Y0 M02 A L100 B G90G00X0Y0 C G01X500 D Y500 E G91 F G23 Local coordinate system created by 5 Local coordinate system created by 3 Current position Matched with lo...

Page 545: ...ue G54 G55 X 1000 1000 Y 500 2000 Local coordinate system created by 3 Current position 500 1000 1500 2000 2500 3000 3000 2500 2000 1500 1000 500 R 1 W1 W1 L1 G54 X Y G55 B 2 5 W2 7 1 3 B D D C C Explanation The local coordinate system is created at the G54 coordinate system 500 500 position by 3 but the local coordinate system is not created for the G55 coordinate system During the movement for 7...

Page 546: ... G23 Workpiece coordinate offset parameter setting value G54 X 500 Y 500 Local coordinate system created by 6 Local coordinate system created by 4 Current position 7 3 W1 L2 500 1000 1500 2000 2500 3000 3000 2500 2000 1500 1000 500 D C E B W1 L1 8 2 R 1 G54 W1 5 Explanation The local coordinate system is created at the G54 coordinate system 1000 1000 position by 4 The local coordinate system is cr...

Page 547: ...operation or program command is executed When manual interrupt is executed while manual absolute is OFF When movement command is issued in machine lock state When axis is moved with handle interrupt When operation is started with mirror image When local coordinate system is set with G52 When workpiece coordinate system is shifted with G92 This function presets the shifted workpiece coordinate syst...

Page 548: ...et to OFF or if the axis is moved with handle interrupt Manual movement amount Present position Workpiece coordinate x after preset X Y Workpiece coordinate zero point X Y Preset W1 W1 W1 M Machine coordinate zero point Workpiece offset Present position Workpiece coordinate zero point Workpiece coordinate y after preset If manual operation is carried out when manual absolute is set to OFF or if th...

Page 549: ...ove This function returns the moved workpiece coordinates to the original present position and sets the distance from W1 to the present position as the workpiece coordinate system s present position 7 When operation is carried out with mirror image Mirror image center X Y Program command X Y Actual operation W1 W1 Preset Present position Workpiece coordinate zero point Workpiece coordinate zero po...

Page 550: ...ich has W1 as the zero point The canceled local coordinate system is only the selected workpiece coordinate system 9 Shifting the workpiece coordinate system with G92 Workpiece zero point after G92 command X Y X Y W1 W1 W1 Present position Workpiece coordinate zero point Workpiece coordinate x after preset Preset Workpiece coordinate y after preset Present position Workpiece coordinates x Workpiec...

Page 551: ...X0 Y0 1 G00 G90 X1 Y1 2 G92 X0 Y0 3 G00 X500 Y500 4 G92 1 X0 Y0 5 Precautions 1 Cancel tool radius compensation tool length offset and tool position offset before using this function If these are not canceled the workpiece coordinates will be at a position obtained by subtracting the workpiece coordinate offset amount from the machine value Thus the compensation vector will be temporarily canceled...

Page 552: ... coordinate position linear type Linear axis 8213 setting value 0 1 2 3 Workpiece coordinate value Displayed in the range of 0 to 359 999 Displayed in the range of 0 to 99999 999 Machine coordinate value relative position Displayed in the range of 0 to 359 999 Displayed in the range of 0 to 99999 999 ABS command The incremental amount from the end point to the current position is divided by 360 an...

Page 553: ...ding to the sign by the excessive amount obtained by dividing by 360 Program Workpiece coordinate counter Machine coordinat e counter G28 C0 N1 G90 C 270 90 000 90 000 N2 C405 45 000 45 000 N3 G91 C180 225 000 225 000 90 45 0 N3 N2 N1 2 Rotation type short cut valid a The machine coordinate position workpiece coordinate position and current position are displayed in the range of 0 to 359 999 b For...

Page 554: ...ordinate counter POSITION counter G28 C0 N1 G90 C 270 270 000 90 000 90 000 N2 C405 405 000 45 000 45 000 N3 G91 C180 585 000 225 000 225 000 When power is turned ON again Workpiece Machine 90 45 0 N3 N2 N1 225 000 225 000 4 Linear type all coordinate values linear type a The all coordinate position counter is displayed in the range of 0 to 99999 999 b The movement is the same as the linear axis c...

Page 555: ...enerated as a result of the measurement and calculation it provides further compensation of the present offset amount If there is one type of offset amount at this time and the offset amount is distinguished between tool length offset amount and wear offset amount the wear amount will be automatically compensated Command format G37 1 Z__ R__ D__ F__ G37 1 Automatic tool length measurement command ...

Page 556: ...s zero Thus length will be compensated whether or not length dimension by tool compensation memory type and length wear are differentiated 2 When tool compensation is applied Tool Reference position Z0 F R D D Measuring device G28 Z0 T01 M06 T02 G43 G00 Z0 H01 G37 1 Z 400 R200 D50 F10 Coordinate value when reached measurement position 305 305 400 95 Thus H01 95 100 200 300 400 0 Wear amount Note A...

Page 557: ...ommand and parameter measurement speed are 0 4 An updated offset amount is valid unless it is assigned from the following Z axis measurement axis command of the G37 1 command 5 Excluding the delay at the PLC side the delay and fluctuations in the sensor signal processing range from 0 to 0 2ms As a result the measuring error shown below is caused Maximum measuring error mm Measuring speed mm min 1 ...

Page 558: ...l is moving at the measuring speed a return must be made to the position prior to the interrupt and then operation must be resumed 7 The data commanded in G37 1 or the parameter setting data must meet the following conditions Measurement point start point R address or parameter r D address or parameter d 8 When the D address and parameter d in 7 above are zero operation will be completed normally ...

Page 559: ...ter 1174 Skip_F will serve as the feedrate In either case the F modal will not be updated 2 The machine will not automatically accelerate and decelerate with the G31 block The G31 maximum speed will depend on the machine specifications 3 Override is invalid with the G31 command and it is fixed at 100 Dry run is also invalid The stop conditions feed hold interlock override zero and stroke end are v...

Page 560: ...000 300000 10000 G01 G31 G31 G31 G01 G01 G01 X W Y Detailed description Readout of skip coordinates The coordinate positions for which the skip signal is input are stored in the system variables 5061 1st axis to 506n n th axis so these can be used in the user macros G90 G00 X 100 G31 X 200 F60 101 5061 Skip command Skip signal input coordinate values workpiece coordinate system are readout to 101 ...

Page 561: ...p gain 1 t1 Response delay time s time taken from the detection to the arrival of the skip signal at the controller via PC t2 Response error time 0 001 s When G31 is used for calculation the value calculated from the section indicated by δ1 in the above equation can be compensated however δ2 results in calculation error Skip signal input Stop pattern with skip signal input Area inside shaded secti...

Page 562: ...ompensation must be provided Readout error ε μm Readout error of skip signal input coordinates Readout error of skip input coordinates Readout error with a 60mm min feedrate is ε 0 001 0 001 mm Measurement value is within readout error range of 1μm ε t2 1 0 1 Measurement value comes within shaded section 60 Feedrate mm min 60 60 F 60 ε Readout error mm F Feedrate mm min t2 Response error time 0 00...

Page 563: ... Skip signal input coordinate readout Coasting based on response delay time Skip signal input coordinates 2 Compensating for workpiece coordinates 110 Skip feedrate 111 Response delay time t1 112 Position loop time constant Tp G31 X100 F100 G04 101 5061 102 110 111 60 103 110 112 60 105 101 102 103 Skip command Machine stop check Skip signal input coordinate readout Coasting based on response dela...

Page 564: ...command this command executes linear interpolation and when the preset skip signal conditions have been met the machine is stopped the remaining commands are canceled and the next block is executed Detailed description 1 Feedrate G31 1 set with the parameter corresponds to 1176 skip1f G31 2 corresponds to 1178 skip2f and G31 3 corresponds to 1180 skip3f 2 A command is skipped if it meets the speci...

Page 565: ...f1 G31 2 3 5 0mm min f2 G31 3 1 1 0mm min f3 Program example N10G31 1 X200 0 N20G31 2 X40 0 N30G31 3 X1 0 Operation Skip speed Measurement distance Input of skip signal 3 Input of skip signal 2 Input of skip signal 1 N10 f N20 N30 f1 f2 f3 t Note 1 If skip signal 1 is input before skip signal 2 in the above operation N20 is skipped at that point and N30 is also ignored 2 If a skip signal with the ...

Page 566: ...ame as with a normal skip command G31 without P parameter 1st part system 2nd part system Skip signal 1 Skip signal 1 Z X2 X1 Same skip signals input in both 1st and 2nd part systems X1 X2 Z 1st part system 2nd part system Skip signal 1 Skip signal 2 Different skip signals input in 1st and 2nd part systems If the skip condition specified by the parameter 1173 dwlskp external skip signals 1 to 8 ar...

Page 567: ...er works If speed parameter Ff is not specified the skip speed specified by the G31 parameter works Relations between skip and multi step skip Skip specifications x o Condition Speed condition Speed G31 X100 Without P and F Program error P601 Skip 1 Parameter G31 X100 P5 Without F Program error P602 Command value Parameter G31 X100 F100 Without P Program error P601 Skip 1 Command value G31 X100 P5...

Page 568: ...orresponding to the skip signal 2 When the skip signal for which the feedrate fn 0 is commanded the movement is stopped The acceleration and deceleration time constant at the movement stop does not follow the skip time constant but the normal G31 skip After the movement is stopped the remaining movement commands are canceled and the following block executed 3 When the skip signal has not been inpu...

Page 569: ...al 1 Movement stop Valid 8 The skip signal for which the feedrate is not commanded in the program is ignored 9 The speed change or the movement stop is performed when detecting the rising edge of the skip signal Note that if several rising edges are input at 3 5ms intervals or less they maybe judged the simultaneous input When they are judged the simultaneous input the smaller value will be valid ...

Page 570: ... movement will be valid regardless of the size of the number 12 If the skip time constant 2102 skip_tL is illegal the Y51 PARAMETER ERROR 15 will occur and if the 2103 skip_t1 is illegal the Y51 PARAMETER ERROR 16 will occur 13 The items other than 1 to 12 are the same with the G31 command Example of operation Example of program G31 X100 Ff F1 0 F2 f2 F3 f3 F4 f4 Operation f4 f Speed Time f3 f2 0 ...

Page 571: ...ng automatic operation the movement command is executed to the end and then the next block is moved to with the droops still accumulated Interlock mode The movement command is executed in the current state During automatic operation the operation stops at the corresponding block and the next block is not moved to During manual operation the following same direction commands are ignored 3 During th...

Page 572: ...fore travel cancel X Y Z Coordinates of upper point basic axis name and its coordinate position I J K Coordinates of lower point basic axis name and its coordinate position Note In the following command format the basic axes are X Y and Z If the basic axis name differs command the point 1 coordinate command address with the basic axis name Detailed description 1 The inner side of the boundary comm...

Page 573: ...heck before travel will be canceled then movement will take place with the previous movement modal 6 During automatic reference position return the check will not be carried out from the intermediate point to the reference position With G29 when moving from the start point to intermediate point the check will not be carried out 7 If there is an address not used in one block a program error will oc...

Page 574: ...r of holes per character on the paper tape is even for EIA code and odd for ISO code Check the paper tape Check the tape puncher and tape reader P 31 Parity V error The number of characters per block on the paper tape is odd Make the number of characters per block on the paper tape even Set the parameter parity V selection OFF P 32 Illegal address An address not listed in the specifications has be...

Page 575: ...ical interpolation polar coordinate interpolation and tool tip center control Reconsider the program Reconsider the restart search position P 50 No spec Inch Metric change Inch Metric changeover G20 G21 command was issued even though there is no inch metric conversion specification Check the specifications P 60 Compensation length over The commanded movement distance is excessive Over 231 Reconsid...

Page 576: ... though it is not included in the specifications Check the helical specifications An Axis 3 command was issued by the circular interpolation command If there is no helical specification the linear axis is moved to the next block P 73 No spec Spiral cutting A spiral command was issued despite the fact that such a command does not exist in the specifications The G02 1 and G03 1 commands are issued f...

Page 577: ...e selected while R compen Plane selection commands G17 G18 G19 were issued while tool radius compensation G41 G42 and nose R compensation G41 G42 G46 commands were being issued Plane selection commands were issued after completing nose R compensation commands when there are no further axis movement commands after G40 and compensation has not been cancelled Issue plane selection commands after comp...

Page 578: ...l The 2nd miscellaneous function address commanded in the program differs from the address set in the parameters miscellaneous function Check and correct the 2nd miscellaneous function address in the program P131 No spec Cnst surface ctrl G96 A constant surface speed control command G96 was issued even though there is no specification Check the specifications Change the constant surface speed cont...

Page 579: ...ation command G41 G42 G46 was being executed Reconsider the program P154 No spec 3D compensation A three dimensional compensation command was issued even though there are no three dimensional compensation specifications Check the specifications P155 Fixed cyc exec during compen A fixed cycle command has been issued in the radius compensation mode The radius compensation mode is established when a ...

Page 580: ...ed number of sets P174 No spec Comp input by prog G11 Compensation data input by program cancel G11 was commanded even though there is no specification of compensation data input by program Check the specifications P177 Tool life count active Registration of tool life management data with G10 was attempted when the used data count valid signal was ON The tool life management data cannot be registe...

Page 581: ...e pitch is too small for the spindle rotation speed The thread number is too large for the spindle rotation speed Check the pitch or the number of threads per inch P185 No spec Sync tapping cycle Synchronous tapping cycle G84 G74 was commanded even though there is no synchronous tapping cycle specification Check the specifications P186 Illegal S cmnd in synchro tap S command was issued during sync...

Page 582: ... to G73 must be decreased below 50 or 200 this differs according to the model P203 D cmnd figure error MRC The compound type fixed cycle for turning machining I G70 to G73 shape program could not cut the work normally because it defined an abnormal shape Check the compound type fixed cycle for turning machining I G70 to G73 shape program P204 E cmnd fixed cycle error A command value of the compoun...

Page 583: ...ogram editing Operation was attempted for the file under program editing Check the specifications P241 No variable No The variable No commanded is out of the range specified in the specifications Check the specifications Check the program variable No P242 not defined at vrble set The sign has not been commanded when a variable is defined Designate the sign in the variable definition of the program...

Page 584: ... on the DIAG screen Refer to the instruction manual issued by the machine tool builder P280 Brackets nesting over The number of parentheses or which can be commanded in a single block has exceeded five Reconsider the program and correct it so the number of or is five or less P281 Brackets not paired The number of and parentheses commanded in a single block does not match Reconsider the program and...

Page 585: ...ame of the variable has been duplicated Correct the program so that the name is not duplicated P310 Not use GMSTB macro code G M S T or B macro code was called during fixed cycle Review the program Review the parameter P350 No spec Scaling command The scaling command G50 G51 was issued when the scaling specifications were not available Check the specifications P360 No spec Program mirror A mirror ...

Page 586: ...r rounding P385 Corner during G00 G33 A block with corner chamfering corner rounding was given during G00 or G33 modal Recheck the program P390 No spec Geometric A geometric command was issued though there are no geometric specifications Check the specifications P391 No spec Geometric arc There are no geometric IB specifications Check the specifications P392 Angle 1 degree GEOMT The angular differ...

Page 587: ...s P421 Parameter input error The specified parameter No or set data is illegal An illegal G command address was input in parameter input mode A parameter input command was input during fixed cycle modal or nose R compensation G10L50 G10L70 G11 were not commanded in independent blocks Check the program P430 R pnt return incomplete A command was issued to move an axis which has not returned to the r...

Page 588: ...e specification P452 Limit before travel exists An illegal command such as the start or end point of the traveling axis is inside the prohibited area or the axis passes through the prohibited area was detected when Stroke check before travel G22 was ON Review the coordinate values of the axis address commanded in the program P460 Tape I O error An error has arisen in the tape reader or alternative...

Page 589: ...age Cylindrical interpolation or polar coordinate interpolation was commanded before the tool compensation was completed after the T command G07 1 was commanded when cylindrical interpolation was not possible there is no rotary axis or external mirror image is ON An axis other than a cylindrical coordinate system axis was commanded during cylindrical interpolation Check the machining program param...

Page 590: ...r coordinate interpolation command was issued during coordinate rotation by program G68 Check the program Before issuing G12 1 issue G40 or G97 Before issuing G12 1 issue a T command Before issuing G13 1 issue G40 Specify the radius value of a cylinder other than 0 or specify the X axis s current value other than 0 before issuing G12 1 G16 P486 Milling error The milling command was issued during t...

Page 591: ... speed 0 The skip speed is 0 Specify the skip speed P604 TLM illegal axis No axis or more than one axis was specified in the automatic tool length measurement block Specify only one axis P605 T TLM command in a block The T code is in the same block as the automatic tool length measurement block Specify this T code before the block P606 T cmnd not found before TLM The T code was not yet specified i...

Page 592: ...l line control axis P903 Plane chg in Normal line ctrl The plane selection command G17 G18 G19 was issued during normal line control Delete the plane selection command G17 G18 G19 from the program for normal line control P920 No spec 3D coord conv There is no specification for 3 dimensional coordinate conversion Check the specifications P921 Illegal G code at 3D coord A G code command that cannot ...

Page 593: ...ng a modal for which a tool tip center control command cannot be issued Reconsider the program P942 Invalid cmnd during T tip ctrl A G code that cannot be commanded was issued during tool tip center control Reconsider the program P943 Tool posture command illegal In the case of tool tip center control type 1 if the signs at the tool side rotary axis or table base side rotary axis start and finish ...

Page 594: ...erpolation Group 1 modal is updated Also possible during arc modal Tool radius is compensated and then axes move The G49 movement in the arc modal moves with G01 Group 1 modal is updated G04 is executed G04 is executed G40 to G42 are ignored G04 is executed G43 to G49 are ignored G04 Dwell G09 Exact stop check G10 is priority for axis No movement I J K rotation input G10 is used for axis so the se...

Page 595: ...executed G43 to G49 are ignored G27 to G30 Reference position compare return Error P608 G31 to G31 3 Skip Error P608 G command commanded last is valid G33 Thread cutting G37 is executed G00 to G33 are ignored G37 is executed G40 to G42 are ignored G37 is executed G43 to G49 are ignored G37 Automatic tool length measurement Arc and G41 G42 cause error P151 G command commanded last is valid G40 to G...

Page 596: ... all axis names become mirror center data Movement with mirror shape G00 to G03 1 Positioning interpolation G04 is executed G73 to G89 are ignored G04 is executed Group 12 is changed G04 is executed G50 1 and G51 1 are ignored G04 Dwell G09 Exact stop check G10 to G11 are executed G73 to G89 are ignored G10 is executed G54 to G59 modals are updated G66 to G67 are executed G10 is ignored G10 to G11...

Page 597: ...o G30 are ignored G27 to G30 are executed G50 1 and G51 1 are ignored G27 to G30 Reference position compare return G31 to G31 3 Skip Group 1 command is executed Group 9 is canceled G66 to G67 are executed G33 modals is updated G33 Thread cutting G66 to G67 are executed G37 modals is ignored G37 is executed G50 1 and G51 1 are ignored G37 Automatic tool length measurement Error P155 G40 to G42 Tool...

Page 598: ...pensation Arc and G43 G44 cause error P70 G50 1 G51 1 Program mirror image G52 is executed G40 to G42 are ignored G52 is executed G43 to G49 are ignored G52 Local coordinate system G53 is executed G40 to G42 are ignored G53 is executed G40 to G42 are ignored G53 Machine coordinate system G54 to G59 Workpiece coordinate system G61 to G64 Mode selection G65 is executed G00 to G03 1 modals are update...

Page 599: ... G67 are executed G43 to G49 modals are updated G66 to G67 Macro call G73 to G89 are canceled G01 to G33 modals are updated Error P155 Canned cycle during compensation G73 to G89 Canned cycle Error P155 Use in same block G90 G91 Absolute value incremental value G92 Coordinate system setting G command commanded last is valid G94 G95 Synchronous asynchronous G96 G97 Constant surface speed control G9...

Page 600: ... commanded last is valid G50 1 G51 1 Program mirror image G52 is executed G73to G89 are ignored G52 is executed G50 1 G51 1 is ignored G52 Local coordinate system G53 is executed G50 1 G51 1 is invalid G53 Machine coordinate system G command commanded last is valid G66 to G67 are executed G54 to G59 modals are updated G54 to G59 Workpiece coordinate system G command commanded last is valid G61 to ...

Page 601: ...0 1 G51 1 is ignored G66 to G67 Macro call G command commanded last is valid G command commanded last is valid G66 to G67 are executed G73 to G89 are ignored All axes become mirror center G73 to G89 Canned cycle G90 G91 Absolute value incremental value G92 is executed G73 to G89 are ignored Note that G92 is priority for axis G92 Coordinate system setting G94 G95 Synchronous asynchronous G command ...

Page 602: ......

Page 603: ... Stop Check G09 131 Exponential Function Interpolation G02 3 G03 3 78 External Output Commands 361 F F1 digit Feed 108 Feed Functions 107 Feedrate Designation and Effects on Control Axes 116 Figure Rotation G22 I_ J_ K_ 291 Fixed Cycles 248 G G Code Lists 18 G Command Mirror Image G50 1 G51 1 G62 369 G1 G0 Deceleration Check 136 G1 G1 Deceleration Check 137 G41 G42 Commands and I J K Designation 1...

Page 604: ...ce Coordinates in Fixed Cycle Mode 281 Skip Function G31 547 Special Fixed Cycle G34 G35 G36 G37 282 Speed Change Skip G31 556 Spindle Clamp Speed Setting G92 153 Spindle Functions 151 Spindle Functions S6 digits Analog 151 Spindle Functions S8 digits 151 Spindle C Axis Control 154 Spiral Conical Interpolation G02 0 G03 1 Type1 G02 G03 Type2 90 Spline G05 1 433 SSS Control 428 Standard Fixed Cycle...

Page 605: ...Revision History Date of revision Manual No Revision details Nov 2008 IB NA 1500930 A First edition created ...

Page 606: ...3355 FAX 38 044 494 3366 Belarus Service Center 703 OKTYABRSKAYA STR 16 5 220030 MINSK BELARUS TEL 375 17 210 4626 FAX 375 17 227 5830 AMERICA MITSUBISHI ELECTRIC AUTOMATION INC AMERICA FA CENTER Central Region Service Center 500 CORPORATE WOODS PARKWAY VERNON HILLS IL 60061 U S A TEL 1 847 478 2500 FAX 1 847 478 2650 Western Michigan Service Satellite ALLEGAN MICHIGAN 49010 U S A TEL 1 847 478 25...

Page 607: ...NG CHINA 100005 TEL 86 10 6518 8830 FAX 86 10 6518 8030 China Tianjin Service Center B 2 801 802 YOUYI BUILDING 50 YOUYI ROAD HEXI DISTRICT TIANJIN CHINA 300061 TEL 86 22 2813 1015 FAX 86 22 2813 1017 China Chengdu Service Center BLOCK B 1 23F CHUAN XIN MANSION 18 SECTION 2 RENMIN ROAD SOUTH CHENGDU SICHUAN CHINA 610016 TEL 86 28 8619 9730 FAX 86 28 8619 9805 China Shenzhen Service Center ROOM 251...

Page 608: ...able cases simultaneous revision is not possible Please contact your Mitsubishi Electric dealer with any questions or comments regarding the use of this product Duplication Prohibited This manual may not be reproduced in any form in part or in whole without written permission from Mitsubishi Electric Corporation 2008 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED ...

Page 609: ......

Reviews: