
B-63944EN/02 OPERATION 4.AUTOMATIC OPERATION
- 957 -
Explanation
- Block number
When the CNC is stopped, the number of executed blocks is displayed
on the program screen or program restart screen. The operator can
specify the number of the block from which the program is to be
restarted, by referencing the number displayed on the LCD. The
displayed number indicates the number of the block that was executed
most recently. For example, to restart the program from the block at
which execution stopped, specify the displayed number, plus one.
The number of blocks is counted from the start of machining,
assuming one NC line of a CNC program to be one block.
(Example 1)
CNC Program Number of blocks
O 0001 ;
G90 G92 X0 Y0 Z0 ;
G01 X100. F100 ;
G03 X01 -50. F50 ;
M30 ;
1
2
3
4
5
(Example 2)
CNC Program Number of blocks
O 0001 ;
G90 G92 X0 Y0 Z0 ;
G90 G00 Z100. ;
G81 X100. Y0. Z120. R-80. F50. ;
#1=#1+1 ;
#2=#2+1 ;
#3=#3+1 ;
G00 X0 Z0 ;
M30 ;
1
2
3
4
4
4
4
5
6
Macro statements are not counted as blocks.
- Storing / clearing the block number
The block number is held in memory while no power is supplied.
The number can be cleared by cycle start in the reset state.
- Block number when a program is halted or stopped
The program screen usually displays the number of the block currently
being executed. When the execution of a block is completed, the
CNC is reset, or the program is executed in single-block stop mode,
the program screen displays the number of the program that was
executed most recently. When a CNC program is halted or stopped
by feed hold, reset, or single-block stop, the following block numbers
are displayed:
Feed hold : Block being executed
Reset : Block executed most recently
Single-block stop : Block executed most recently
For example, when the CNC is reset during the execution of block 10,
the displayed block number changes from 10 to 9.