3. Data Formats
3.5 Program/Sequence/Block Numbers ; L(O), N
16
3.5 Program/Sequence/Block Numbers ; L(O), N
Function and purpose
These numbers are used for monitoring the execution of the machining programs and for calling
both machining programs and specific stages in machining programs.
(1) Program numbers are classified by workpiece correspondence or by subprogram units, and
they are designated by the address "L" (or "0") followed by a number with up to 8 digits.
(2) Sequence numbers are attached where appropriate to command blocks which configure
machining programs, and they are designated by the address "N" followed by a number with
up to 6 digits.
(3) Block numbers are automatically provided internally. They are preset to zero every time a
program number or sequence number is read, and they are counted up one at a time unless
program numbers or sequence numbers are commanded in blocks which are subsequently
read.
Consequently, all the blocks of the machining programs given in the table below can be
determined without further consideration by combinations of program numbers, sequence
numbers and block numbers.
Monitor display
Machining program
Program No.
Sequence No.
Block No.
L12345678 (DEMO, PROG) ;
12345678
0
0
G92 X0 Y0 ;
12345678
0
1
G90 G51 X-150. P0.75 ;
12345678
0
2
N100 G00 X-50. Y-25. ;
12345678
100
0
N110 G01 X250. F300 ;
12345678
110
0
Y-225. ;
12345678
110
1
X-50. ;
12345678
110
2
Y-25.; 12345678
110
3
N120 G51 Y-125. P0.5 ;
12345678
120
0
N130 G00 X-100. Y-75. ;
12345678
130
0
N140 G01 X-200. ;
12345678
140
0
Y-175. ;
12345678
140
1
X-100. ;
12345678
140
2
Y-75. ;
12345678
140
3
N150 G00 G50 X0 Y0 ;
12345678
150
0
N160 M02 ;
12345678
160
0
%