
OPERATION
4. AUTOMATIC OPERATION
B–63664EN/02
500
When the NC 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 noting
the number displayed on the screen. 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
value of the displayed number + 1.
The number of blocks is counted from the start of processing, assuming
one NC statement 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. Z–120. 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.
The number of blocks is also stored after the power is turned off. The
stored number of blocks is cleared by cycle start in reset state.
The program screen usually displays the number of the block being
executed. Once the execution of a block is complete, the CNC is reset, or
the program is stopped by single–block stop, the program screen displays
the number of the block 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.
When MDI intervention is performed while the program is stopped by
single–block stop, the CNC commands used for intervention are not
counted as blocks.
When the length of the block number displayed on the program screen
exceeds eight digits, the block number is reset to 0 and counting
continues.
Explanations
D Block number
D Storing and clearing the
number of blocks
D Block number displayed
when a program is
halted or stopped
D MDI intervention
D Block number consisting
of more than eight digits