
B-64663EN/01 LASER FUNCTION 7.THREE-DIMENSIONAL MACHINING SYSTEM
- 133 -
CAUTION
1 The program number and block number that can
be read with header G are those related to an
executed program. Header G cannot be used to
read the block number of a program currently
under teaching editing. To read it, use a sequence
number search by means of header M.
2 The program and block numbers that can be read
with header G are updated when the memory or
tape mode is executed. No program or block
number is used during the MDI operation. So,
program and block numbers are assumed to be 0.
3 When a block number is requested during the
memory mode, it is returned as 0 if the OP
(automatic operation in progress) signal is on.
(h) Program number registration
The program area is secured for a specified number.
TB⇒CNC
DC2 H DC4
1st byte 2nd byte
CNC⇒TB
DC2 H DC4
CAUTION
1 The H command is equivalent to pressing
O****+INSERT from the MDI panel and, therefore,
no ;(EOB) is inserted. To insert an EOB, write one
by specifying block 0 with the K command.
More specifically, issue the commands in
combination as follows:
Example) To register O0001
Program number
DC2 H 0 1 0 0 DC4
Program
number
Block number
Block
length
Data
DC2 K 01000000 0 1 ; DC4
omp
et
on
code