Host Computer System.pdf - 第139页

AVK3 HOST COMPUTER SYSTEM 5.5 Del eting NC Data in Ex ecution Program D77HEC-50- 440-A0 5.5- 2 = R E M A R K S = As f or the block to be delet ed on or after the 2nd tim e, the block No. be f ore the del etion is sent. …

100%1 / 174
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
AVK3
HOST COMPUTER SYSTEM
5.5 Deleting NC Data in Execution Program
D77HEC-50-440-A0
5.5-3
<NC data in AVK3>
NC data before deletion NC data after deletion
N001 d1d1……
N002 (1) data
N003 d2d2……
N004 d3d3……
N005 (2) data
N006 (3) data
N007 d4d4……
N008 d5d5……
N009 d6d6……
N001 d1d1……
N002 d2d2……
N003 d3d3……
N004 d4d4……
N005 d5d5……
N006 d6d6……
Condition
Can be used in optional specification.
Valid in ONLINE mode only.
If execution program is not selected, ‘A4E00’ is returned.
Can be deleted continuously until ‘A2’ is received.
If received during operation, ‘A4E00’ is returned.