
2 G Code
2 - 58
NJ/NY-series G code Instructions Reference Manual (O031)
The following program rotates a figure defined in the subprogram.
Programming Example
N11 G17 G64 G91 G01 F1000
N12 M03 S500
N13 X10
N14 G68 X10 Y0 R90
// Sets the rotation angle to 90°
N15 M98 P1000
// Cuts the rotated figure (indicated by the solid
line in the following figure)
N16 G69
// Disables rotation
N17 M98 P1000
// Cuts the unrotated figure (indicated by the
broken line in the following figure)
N18 M05
N19 M30
// Subprogram drawing a triangle
// NC Program No.1000
N01 G17 G01 X10 Y3
N02 Y-6
N03 X-10 Y3
N04 M99
// End of the subprogram
N15
N17
R90
N13
0
Y
X
10
Содержание NJ501-5300
Страница 13: ...11 CONTENTS NJ NY series G code Instructions Reference Manual O031...
Страница 28: ...Revision History 26 NJ NY series G code Instructions Reference Manual O031...
Страница 38: ...1 Basic Information on NC Programming 1 10 NJ NY series G code Instructions Reference Manual O031...
Страница 40: ...2 G Code 2 2 NJ NY series G code Instructions Reference Manual O031...
Страница 53: ...2 15 NJ NY series G code Instructions Reference Manual O031 2 Dwell Instruction Name Page G04 Dwell P 2 16...
Страница 72: ...2 G Code 2 34 NJ NY series G code Instructions Reference Manual O031...
Страница 108: ...3 M Code 3 2 NJ NY series G code Instructions Reference Manual O031...
Страница 112: ...3 M Code 3 6 NJ NY series G code Instructions Reference Manual O031...
Страница 124: ...3 M Code 3 18 NJ NY series G code Instructions Reference Manual O031...
Страница 128: ...3 M Code 3 22 NJ NY series G code Instructions Reference Manual O031...
Страница 136: ...4 PROGRAM CODES 4 8 NJ NY series G code Instructions Reference Manual O031...
Страница 141: ......