12.PROGRAM CONFIGURATION PROGRAMMING B-63324EN/03
- 266 -
Function Address Meaning
Feed function F
Rate of feed per minute,
Rate of feed per revolution
Spindle speed
function
S Spindle speed
Tool function T Tool number
M On/off control on the machine tool
Auxiliary function
B Table indexing, etc.
Offset number D,H Offset number
Dwell P,X Dwell time
Program number
designation
P Subprogram number
Number of
repetitions
L Number of subprogram repetitions
Parameter P,Q Canned cycle parameter
* 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
Dimensio
n
word
Feed-
function
Spindle
speed
function
Tool
function
Miscellaneous
function
Fig.12.1 (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 federate 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.