Host Computer System.pdf - 第138页

AVK3 HOST COMPUTER SYSTEM 5.5 Del eting NC Data in Exec u t ion Program D77HEC-50- 440-A0 5.5- 1 5.5. Deleting NC Dat a in Execut i on Program D77HEC - 50-440-A 0 5.5. 1 Deleting NC Data in E xecution Program If t he hos…

100%1 / 174
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
AVK3
HOST COMPUTER SYSTEM
5.5 Deleting NC Data in Execution Program
D77HEC-50-440-A0
5.5-2
=REMARKS=
As for the block to be deleted on or after the 2nd time, the block No. before the deletion is sent.
Protocol
Example of NC data deletion
Start of deletion
Host computer
Requests data.
AVK3
C4AL
A 0
Transfers the next data
to be deleted.
D 1 Block No. (-Block No.)
D 1 Block No.
A2
NC data
Transfers the block No.
to be deleted.
Start of deletion
Host computer
Sends deletion result.
AVK3
C4DL
A 0
Sends deletion result.
Data to be deleted
D 1 N002
D 1 N004 d2d2
D 1 N005 - 006
D 1 N004 d4d4
Data to be deleted
A2
Deletion end