Host Computer System.pdf - 第134页
AVK3 HOST COMPUTER SYSTEM 5.4 Insert ing Executi on Progr a m i nto NC Data D77HEC-50- 430-A0 5.4- 1 5.4. Inserting Execution Progr a m into NC Data D77HEC - 50-430-A 0 5.4. 1 Inserti ng Execution Program into NC Data If…

AVK3
HOST COMPUTER SYSTEM
5.3 Inquiring and Altering NC Data in Execution Program
D77HEC-50-420-A0
5.3-2
Protocol
Condition
Can be used in optional specification.
Valid in ONLINE mode only.
If an unregistered program is designated, ‘A4E00’ is returned.
Inquiry/alteration can be executed as required until ‘A2’ is received. Also, by altering the block No.
optional data in the registered block can be inquired or altered.
If received during operation, ‘A4E00’ is returned.
Start of inquiring and
altering
Host computer
Requests data.
AVK3
C4AL
A 0
Sends updated data.
D 1 Block No.
D 1 Block No.
A2
Name
Sends new data.

AVK3
HOST COMPUTER SYSTEM
5.4 Inserting Execution Program into NC Data
D77HEC-50-430-A0
5.4-1
5.4. Inserting Execution Program into NC Data
D77HEC-50-430-A0
5.4.1 Inserting Execution Program into NC Data
If the host computer gives C4 command to AVK3, the NC data can be inserted by one block lot into the NC
program registered in the AVK3.
Insertion into the NC data of the execution program ends with A2 command sent from the host computer.
Data details
NC data by one block lot can be inserted by giving D1 command from the host computer after the A0
command (data request) has been sent from the AVK3.
With sending of insertion data by one block lot from the host computer, the updated data from the AVK3 is
returned in D1 command.
If the updated data is returned from the AVK3, the data of the next block lot can be inserted.
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.
Insert it one block before
designated block.
2 NC data
The omitted data becomes the
same data as in the previous
block.
G data becomes an error except
0.
AVK3 ⇒ Host computer
No. Data name
Max.
digits
Input range
Sup-
press
Fix Remarks
1 Block No. 4 0001 to 2000
×
Sends the designated block.
2 NC data
×
Sends the same format as in
the upload of NC data.
=REMARKS=
The data condition is the same as in the upload of NC data.
== As for how to insert, refer to ‘Example of NC data insertion’.
Pay attention in the order of insertion if designating the same block No.
STX
D 1 N x
No. of
characters
1
x x
ETXCheck sum
NC data
2
STX
C 4 I N
No. of
characters
ETX
Check sum

AVK3
HOST COMPUTER SYSTEM
5.4 Inserting Execution Program into NC Data
D77HEC-50-430-A0
5.4-2
Protocol
Start of insertion
Host computer
Requests data.
AVK3
C4AL
A 0
Sends updated data.
D 1 Block No. NC data
D 1 Block No.
A2
NC data
Transfers inserted
data.