
PROGRAMMING13. PROGRAM CONFIGURATION
B–63684EN/01
130
A block consists of one or more words. A word consists of an address
followed by a number some digits long. (The plus sign (+) or minus sign
(–) may be prefixed to a number.)
Word = Address + number (Example : X–1000)
For an address, one of the letters (A to Z) is used ; an address defines the
meaning of a number that follows the address. Table 13.2 (b) indicates
the usable addresses and their meanings.
The same address may have different meanings, depending on the
preparatory function specification.
Table 13.2 (b) Major functions and addresses
Function Address Meaning
Program number O
(Note)
Program number
Sequence number N Sequence number
Preparatory function G Specifies a motion mode (linear, arc,
etc.)
Dimension word X, Y, Z, U,
V, W, A, B,
C
Coordinate axis move command
I, J, K Coordinate of the arc center
R Arc radius
Feed function F Rate of feed per minute,
Rate of feed per revolution
Spindle speed function S Spindle speed
Tool function T Tool number
Auxiliary function M On/off control on the machine tool
B Table indexing, etc.
Offset number D, H Offset number
Dwell P, X Dwell time
Program number
designation
P Subprogram number
Number of
repetitions
P Number of subprogram repetitions
Parameter P, Q Canned cycle parameter
Macro function A, B, U, V,
W
Specifies macro number
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–
function
Spindle
speed
function
Tool
function
Miscellaneous
function
Fig.13.2 (c) 1 block (example)
D Block configuration
(word and address)