
2 G Code
2 - 54
NJ/NY-series G code Instructions Reference Manual (O031)
The following program enlarges the circle defined in the subprogram to double size.
Programming Example
N11 G64 G90 G01 F100
N12 M03 S300
N13 G51 X20 Y15 P2
// Sets scaling to double.
N14 M98 P1000
// Cuts the figure of double size (indicated by the solid
line in the following figure).
N15 G50
// Disables scaling
N16 G01 X0 Y0
N17 M98 P1000
// Cuts the figure of original size (indicated by the
broken line in the following figure).
N18 M05
N19 M30
// Subprogram drawing a circle
// NC Program No.1000
N01 G17 G01 X20 Y10
N02 G02 X20 Y20 R5
N03 G02 X20 Y10 R5
N04 M99
// End of the subprogram
N14
N17
(20, 15)
Y
X
25
20
20
15
5
0
10
Center point
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: ......