Host Computer System.pdf - 第51页

AVK3 HOST COMPUTER SYSTEM 2.5 Downloadi ng Progr am Off set D77HEC-52- 180-A0 2.5- 4

100%1 / 174
AVK3
HOST COMPUTER SYSTEM
2.5 Downloading Program Offset
D77HEC-52-180-A0
2.5-3
Protocol
Condition
Can be used in standard specification.
Valid in ONLINE mode only.
If a program which does not exist in the memory is specified, ‘A4E00’ is returned.
Program offset data can be sent repeatedly until EOP code is sent.
The latest program offset data is valid.
If the program is downloaded during operation, ‘A4E00’ is returned.
Start of download
Host computer
Requests next data.
AVK3
D 0 Program offset
A 0
C0F
Control No.:
3 digits
Program name (Up
to 12 characters)
D 0
A 0
End of transmission
End of reception
A 0
Stores the received data
in RAM.
Transfers EOP data.
AVK3
HOST COMPUTER SYSTEM
2.5 Downloading Program Offset
D77HEC-52-180-A0
2.5-4
AVK3
HOST COMPUTER SYSTEM
2.6 Downloading Parts Set Number
D77HEC-52-190-A0
2.6-1
2.6. Downloading Parts Set Number
D77HEC-52-190-A0
2.6.1 Downloading Parts Set Number
With AVK3, if host computer gives C0 command to AVK3, the AVK3 becomes the receiving mode of the
internal parts set number data and then can read the parts set number data (using C0 command) sent to the
AVK3.
Data details
When the machine receives the C0 command, the A0 command is returned as acknowledgment.
The host computer receives this A0 command, and using D command (Data transfer command), sends
leading block (one block) of parts set number data to the AVK3.
1) - 1
D0ZnnnSnnnnnnWnnnnnn
1 2 3
No. Data name
Max.
digits
Input range
Sup-
press
Vari-
able
Remarks
1 Z axis No. 3 001 to 121
×
Sets data into the specified Z
number.
If omitted, it becomes an error.
122 is usable only for EOP.
2
Parts setting
number
6 0 to 999999
Held in every Z.
3
Parts exhaust
warning number
6 0 to 999999
Held in every Z.
=REMARKS=
Optional feeder only can also be sent.
If the digit is over the maximum, the data for the first max. digits from the end will be valid.
Ifcharacter appears in one message, it becomes EOP.
If the machine cannot identify the character, the following numeric values will also be ignored.
If the data of 1 is out of the effective range, ‘A4E01’ is returned.
STX
C 0
No. of
characters
ETXCheck sum
Z
STX
D 0
No. of
characters
ETX Check sum
Z x x x
1) -1