
7.THREE-DIMENSIONAL MACHINING SYSTEM LASER FUNCTION B-64663EN/01
- 134 -
(i) Program number deletion
The program with a specified program number is deleted.
TB⇒CNC
DC2 I DC4 Program number
1st byte 2nd byte
CNC⇒TB
DC2 I DC4
(j) Specified-block read
By specifying a program number and block number (counted
from the first block), the corresponding NC data and its block
length (number of characters) can be read.
TB⇒CNC
DC2 J Program number
1st byte 2nd byte
DC4 Block number
3rd byte 4th byte
CNC⇒TB
DC2 J
DC4
Block length NC data
The following example illustrates how to read the NC data with a
block length 18 (12H in hexadecimal) of block number 3 (0003H
in hexadecimal) of program number 1000 (03E8H in
hexadecimal).
Assume the TB sends the following message to the CNC:
DC2JE8030300 DC4
12 4A 45 38 30 33 30 33 30 30 14
The block length and data will be read as follows:
DC2J0012G00X 0 Y - 999
12 4A 30 30 31 32 47 30 30 58 30 59 2D 39 39 39
999A0B0 ;DC4
39 39 39 41 30 42 30 3B 14
CAUTION
If the J command is sent with OP (automatic
operation in progress) set to 0, the program
execution pointer (cursor) moves to the block from
which data has been read. The pointer does not
move if OP is set to 1.
Completion code
Completion code