
13.PROGRAM CONFIGURATION PROGRAMMING B-63944EN/02
- 286 -
NOTE
(*) In ISO code, the colon ( : ) can also be used as the
address of a program number.
N_ G_ X_ Y_ F_ S_ T_ M_ ;
Sequence
number
Preparatory
function
Dimension
word
Feed-functi
on
Spindle
speed
function
Tool
function
Auxiliary
function
Fig. 13.2 (c) 1 block (example)
- Major addresses and ranges of command values
Major addresses and the ranges of values specified for the addresses
are shown below. Note that these figures represent limits on the CNC
side, which are totally different from limits on the machine tool side.
For example, the CNC allows a tool to traverse up to about 100 m (in
millimeter input) along the X axis.
However, an actual stroke along the X axis may be limited to 2 m for
a specific machine tool.
Similarly, the CNC may be able to control a cutting feedrate of up to
240 m/min, but the machine tool may not allow more than 3 m/min.
When developing a program, the user should carefully read the
manuals of the machine tool as well as this manual to be familiar with
the restrictions on programming.
Table 13.2 (d) Major addresses and ranges of command values
Function Address Input in mm Input in inch
Program number O
(*1)
1 to 99999999 1 to 99999999
Sequence number N
1 to 99999999 1 to 99999999
Preparatory function G
0 to 99.9 0 to 99.9
Increment system IS-A
±
999999.99 mm
±
999999.99 deg.
±
99999.999 inch
*3
±
999999.99 deg.
Increment system IS-B
±
999999.999 mm
±
999999.999 deg.
±
99999.9999 inch
*3
±
999999.999 deg.
Increment system IS-C
±
99999.9999 mm
±
99999.9999 deg.
±
9999.99999 inch
*3
±
99999.9999 deg.
Increment system IS-D
±
9999.99999 mm
±
9999.99999 deg.
±
999.999999 inch
*3
±
9999.99999 deg.
Dimension
word
Increment system IS-E
X,Y,Z,U,V,
W,A,B,C,I,J
,K,R
(*2)
±
999.999999 mm
±
999.999999 deg.
±
99.9999999 inch
*3
±
999.999999 deg.
Increment system IS-A
0.01 to 999000.00mm/min 0.001 to 96000.000inch/min
Increment system IS-B
0.001 to 999000.000mm/min 0.0001 to 9600.0000inch/min
Increment system IS-C
0.0001 to 99999.9999mm/min 0.00001 to 4000.00000inch/min
Increment system IS-D
0.00001 to 9999.99999mm/min 0.000001 to 400.000000inch/min
Feed per
minute
Increment system IS-E
F
0.000001 to 999.999999mm/min 0.0000001 to 40.0000000inch/min
Feed per revolution F
0.001 to 50000mm/rev 0.0001 to 50.0000inch/rev
Spindle speed function S
(*4)
0 to 99999999 0 to 99999999
Tool function T
(*4)
0 to 99999999 0 to 99999999
M
(*4)
0 to 99999999 0 to 99999999
Auxiliary function
B
(*4)
0 to 99999999 0 to 99999999
Offset number (M series only) H, D
0 to 999 0 to 999