
2 G Code
2 - 52
NJ/NY-series G code Instructions Reference Manual (O031)
The following program executes a series of operations from the start to the end of tool offsetting. This
sample programming shows the change of tool length during the cutting operation.
Use of M100 for transferring the tool change request to the sequence control program is an example.
When using this command, refer to the instruction manual provided by the machine tool manufacturer.
Programming Example
N01 G17 G64 G90 G01 F100
N02 M100 VA1
// Tool change Tool ID #1 (Tool length: 8)
N03 G43
// Enables tool offset
N04 X10 Z-10
N05 X20
N06 M100 VA2
// Tool change Tool ID #2 (Tool length: 6)
N07 G43
// Enables tool offset
N08 X30 Z-10
N09 X40
N10 G49
// Disables tool offset
N11 X50 Z0
// Cancels tool offset
N12 M30
Path when tool offset is enabled
Path when tool offset is disabled
X
10
-10
-8
-4
-2
0
20
30
40
50
Z
N09
N08
N11
N04
N05
Summary of Contents for NJ501-5300
Page 13: ...11 CONTENTS NJ NY series G code Instructions Reference Manual O031...
Page 28: ...Revision History 26 NJ NY series G code Instructions Reference Manual O031...
Page 40: ...2 G Code 2 2 NJ NY series G code Instructions Reference Manual O031...
Page 72: ...2 G Code 2 34 NJ NY series G code Instructions Reference Manual O031...
Page 108: ...3 M Code 3 2 NJ NY series G code Instructions Reference Manual O031...
Page 112: ...3 M Code 3 6 NJ NY series G code Instructions Reference Manual O031...
Page 124: ...3 M Code 3 18 NJ NY series G code Instructions Reference Manual O031...
Page 128: ...3 M Code 3 22 NJ NY series G code Instructions Reference Manual O031...
Page 136: ...4 PROGRAM CODES 4 8 NJ NY series G code Instructions Reference Manual O031...
Page 141: ......