Host Computer System.pdf - 第137页
AVK3 HOST COMPUTER SYSTEM 5.4 I nserti ng Execution Pr ogram int o NC Dat a D77HEC-50- 430-A0 5.4- 4

AVK3
HOST COMPUTER SYSTEM
5.4 Inserting Execution Program into NC Data
D77HEC-50-430-A0
5.4-3
Example of NC data insertion
<NC data in AVK3>
NC data before insertion NC data after insertion
N001 d1d1……
N002 d2d2……
N003 d3d3……
N004 d4d4……
N005 d5d5……
N006 d6d6……
N007 d7d7……
N001 d1d1……
N002 (1) data
N003 d2d2……
N004 d3d3……
N005 (2) data
N006 (3) data
N007 d4d4……
N008 d5d5……
N009 d6d6……
Condition
Can be used in optional specification.
Valid in ONLINE mode only.
If execution program is not selected, ‘A4E00’ is returned.
Can be inserted as often as possible until ‘A2’ is received.
If received during operation, ‘A4E00’ is returned.
Start of insertion
Host computer
Sends insertion result.
AVK3
C4IN
A 0
Sends insertion result.
A2
Inserted data
D 1 N002 (1) data
D 1 N002 (1) data
D 1 N004 (2) data
D 1 N005 (2) data
D 1 N004 (3) data
D 1 N006 (3) data
Inserted data
Inserted data
Insertion end
Sends insertion result.

AVK3
HOST COMPUTER SYSTEM
5.4 Inserting Execution Program into NC Data
D77HEC-50-430-A0
5.4-4

AVK3
HOST COMPUTER SYSTEM
5.5 Deleting NC Data in Execution Program
D77HEC-50-440-A0
5.5-1
5.5. Deleting NC Data in Execution Program
D77HEC-50-440-A0
5.5.1 Deleting NC Data in Execution Program
If the host computer gives C4 command to AVK3, the NC data in NC program registered in the AVK3 can be
deleted by one block lot.
Deletion of NC data in the execution program ends with sending A2 command from the host computer.
Data details
NC data can be deleted by sending D1 command from the host computer after the A0 command (data
request) has been sent from the AVK3.
If sending NC data deletion from the host computer, the deleted NC data of the next block is sent from the
AVK3 in D1 command.
When the deleted NC data of the next block is returned from the AVK3, the NC data of the other block can
be deleted.
Host computer ⇒ AVK3
No. Data name
Max.
digits
Input range Omit
Vari-
able
Remarks
1 Block No. 4 0001 to 2000
×
If designated more than the
filled block+1, it becomes an
error.
If deleting the continuous plural
numbers, it becomes the head
block No.
2 NC data 4 0001 to 2000
If added, continuous plural
numbers will be deleted.
It becomes an error unless 1
block No. < 2 block No.
AVK3 ⇒ Host computer
No. Data name
Max.
digits
Input range
Sup-
press
Fix Remarks
1 Block No. 4 0001 to 2000
×
Sends the next deleted block.
2 NC data
×
Sends the same format as in
the upload of NC data.
STX
D 1 N x
No. of
characters
1
x x
ETXCheck sum
(Block No.)
2
STX
C 4 D L
No. of
characters
ETX
Check sum
STX
D 1 N x
No. of
characters
1
x x
ETX
Check sum
NC data
2