
1 Basic Information on NC Programming
1 - 2
NJ/NY-series G code Instructions Reference Manual (O031)
Instructions
The following table lists the G codes and M codes supported by NJ501-5300 and NJ532-5400.
G Codes
Modal group
Initial modal
Instruc
tion
Name
Outline of function
00 Non-modal
---
G04
Dwell
Stops the CNC coordinate system for a predefined
period of time.
00 Non-modal
---
G09
Exact Stop
Executes a forcible control deceleration stop
together with the registration of in-position at the
termination of a block.
00 Non-modal
---
G28
Return to Reference
Point
Moves the tool to the reference point (position 0)
via the middle point specified by an argument of
the instruction.
00 Non-modal
---
G30
Return to 2nd, 3rd or
4th Reference Point
Moves the tool to the 2nd, 3rd and 4th reference
point.
00 Non-modal
---
G31
Skip Function
Provides Rapid Positioning (G00) and input stop.
00 Non-modal
---
G52
Local Coordinate Sys-
tem Set
Creates coordinates in the Work Coordinate Sys-
tem.
00 Non-modal
---
G53
Dimension Shift Cancel Runs commands in the machine coordinate sys-
tem.
01 Rapid Position-
ing
G01
G00
Rapid Positioning
Performs a point-to-point operation in the minimum
time by following the restrictions of CNC motor set-
tings.
G01
Linear Interpolation
Moves a CNC motor from the current position to a
specified position.
G02
Circular Interpolation in
CW direction
Moves the tool on an arc path on the XY, YZ, or ZX
plane.
G03
Circular Interpolation in
CCW direction
02 Plane
G17
G17
X-Y Plane Selection
Changes a plane, the reference of Circular Interpo-
lation (G02/G03), Cutter Compensation
(G40/G41/G42), and Coordinate System Rotation
(G68/G69).
G18
Z-X Plane Selection
G19
Y-Z Plane Selection
03 Distance
G90
G90
Absolute command
Enables absolute position mode for all axes in the
CNC coordinate system, and moves the axes to a
specified position in the current coordinate system.
G91
Incremental command
Enables relative Incremental position mode for all
axes in the CNC coordinate system, and moves
the axes a certain distance from the last command
position.
06 Unit
Operation
depends on
the Orthogo-
nal Axis
Command
Unit setting
G20
Inch input
Switches all the settings of the CNC coordinate
system, command values, and the unit of current
values.
G21
Metric input
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: ......