
1 - 5
1 Basic Information on NC Programming
NJ/NY-series G code Instructions Reference Manual (O031)
In
struction Parame
ters
1
Instruction Parameters
The following describes the parameters used in each instruction.
Parameter
Description
Relevant codes
Recommended range
A
Target A-axis Position [com-
mand units]
G00/G01/G02/G03
-1,000,000
≤
A
≤
1,000,000
A-axis middle point [command
units]
G28/G30
-1,000,000
≤
A
≤
1,000,000
A-axis offset [command units]
G52
-1,000,000
≤
A
≤
1,000,000
B
Target B-axis Position [com-
mand units]
G00/G01/G02/G03
-1,000,000
≤
B
≤
1,000,000
B-axis middle point [command
units]
G28/G30
-1,000,000
≤
B
≤
1,000,000
B-axis offset [command units] G52
-1,000,000
≤
B
≤
1,000,000
C
Target C-axis Position [com-
mand units]
G00/G01/G02/G03
-1,000,000
≤
C
≤
1,000,000
C-axis middle point [command
units]
G28/G30
-1,000,000
≤
C
≤
1,000,000
C-axis offset [command units]
G52
-1,000,000
≤
C
≤
1,000,000
F
Feedrate [command units]
G00/G01/G02/G03
0.000000001
≤
F
≤
MAX feedrate (CNC coordinate
system setting)
Dwell time [s]
G04
0
≤
F
≤
100,000
G
G code
---
Valid G code
I
X-axis arc center [command
units]
G02/G03
-1,000,000
≤
I
≤
1,000,000
X-axis scaling magnification
G51
0.00001
≤
I
≤
10,000
-10,000
≤
I
≤
-0.00001
J
Y-axis arc center [command
units]
G02/G03
-1,000,000
≤
J
≤
1,000,000
Y-axis scaling magnification
G51
0.00001
≤
J
≤
10,000
-10,000
≤
J
≤
-0.00001
K
Z-axis arc center [command
units]
G02/G03
-1,000,000
≤
K
≤
1,000,000
Z-axis scaling magnification
G51
0.00001
≤
K
≤
10,000
-10,000
≤
K
≤
-0.00001
Number of repetitions
G74/G84
0
≤
K
≤
10,000
L
L-variable address
---
Valid address (L0 to L255)
Number of loops
M98
0
≤
L
≤
10,000
M
M Code
---
Valid M code (M0 to M191)
P
P-variable address
---
Valid address (P0 to P32767)
Dwell time [ms]
G04/G74/G84
0
≤
P
≤
100,000,000
Reference point specification
G30
Valid reference point number (P2 to P4)
All axes scaling magnification
G51
0.00001
≤
P
≤
10,000
Program number
M98
Programmed by Sysmac Studio
1000 to 2999
Programmed by HMI
3000 to 9999
Q
Q-variable address
---
Valid address (Q0 to Q4095)
R
Arc radius [command units]
G02/G03
-1,000,000
≤
R
≤
1,000,000
Rotation angle [deg]
G68
-360
≤
R
≤
360
R Point Level [command units] G74/G84
-1,000,000
≤
R
≤
1,000,000
S
Spindle rotation speed [r/min]
M03/M04/M19
0
≤
S
≤
MAX speed (CNC motor setting)
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: ......