PROGRAMMING10. PROGRAM CONFIGURATION
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 10.2 (b) indicates
the usable addresses and their meanings.
The same address may have different meanings, depending on the
preparatory function specification.
Table 10.2 (b) Major functions and addresses
Function Address Meaning
Program number O
Sequence number N Sequence number
Preparatory–function G Specifies a motion mode
(linear, arc, etc.)
Coordinate axis move command
R Arc radius
I, J, K Coordinate values of arc center
Feed function F Specifies feedrate.
S Output power
P Pulse frequency
Q Pulse duty
R Piercing time
E Machining condition number
M Specifies on/off controll on machine
B Table indeximg, etc.
Offset number D,H Specifies offset number.
Dwell P,X Specifies dwell time.
P Specifies subprogram number.
Number of repetitions P Number of subprogram repetitions
In ISO code, the colon ( : ) can also be used as the address
of a program number.
Fig.10.2 (c) 1 block (example)
G_ X_ Y_ F_ S_ M_
D Block configuration
(word and address)