Host Computer System.pdf - 第49页

AVK3 HOST COMPUTER SYSTEM 2.5 Downloadi ng Progr am Off set D77HEC-52- 180-A0 2.5- 2  1) - 2 D0X ( ± ) nnnnnn Y ( ± ) nnnnnn F nnn An B ( ± ) nnnnnn C ( ± ) nnnnnn 1 2 3 4 5 6 Dnnn Ennn Gn H ( ± ) nnnnnn I ( ± ) nnnnnn …

100%1 / 174
AVK3
HOST COMPUTER SYSTEM
2.5 Downloading Program Offset
D77HEC-52-180-A0
2.5-1
2.5. Downloading Program Offset
D77HEC-52-180-A0
2.5.1 Downloading Program Offset
From AVK3, when the host computer sends C0 command to AVK3, the AVK3 goes into receiving mode, and
as a result, can read the data (C0 command is used) sent to it.
Data details
No. Data name
Max.
digits
Input range
Sup-
press
Vari-
able
Remarks
1
Program control
No.
15
‘0’ to ‘9’
‘A’ to ‘Z
Special character
Can be omitted.
(Excluding the first character)
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 program offset data to the AVK3.
1) - 1
D0F -
1
No. Data name
Max.
digits
Input range
Sup-
press
Vari-
able
Remarks
1 Program name 15
‘0’ to ‘9’
‘A’ to ‘Z
Special character
×
If other than the valid
characters within 15 digits, it
becomes an error.
1
STX
C 0
No. of
characters
ETX
Check sum
F
Program name
Up to 15 characters
(Can be omitted)
STX
D 0
No. of
characters
ETX Check sum
1) -1
AVK3
HOST COMPUTER SYSTEM
2.5 Downloading Program Offset
D77HEC-52-180-A0
2.5-2
1) - 2
D0X (±) nnnnnnY (±) nnnnnnFnnnAnB (±) nnnnnnC (±) nnnnnn
1 2 3 4 5 6
Dnnn
EnnnGnH (±) nnnnnnI (±) nnnnnnJnnnKnnn
7 8 9 10 11 12 13
No. Data name
Max.
digits
Input range
Sup-
press
Vari-
able
Remarks
1 X program offset 7
-999999 to
+999999
Max. digit includes ±.
2 Y program offset 7
-999999 to
+999999
Max. digit includes ±.
3
Multiple origin
offset
3 0 to 120
Multi origin
4
Reference hole 1
data
1 0 to 1
×
0 = Invalid, 1 = Valid
5
Reference hole 1
X coordinate
7
-999999 to
+999999
Max. digit includes ±.
6
Reference hole 1
Y coordinate
7
-999999 to
+999999
Max. digit includes ±.
7
Reference hole 1
window size X
3 0 to 511
Window size X
8
Reference hole 1
window size Y
3 0 to 479
Window size Y
9
Reference hole 2
data
1 0 to 1
0 = Invalid, 1 = Valid
10
Reference hole 2
X coordinate
7
-999999 to
+999999
Max. digit includes ±.
11
Reference hole 2
Y coordinate
7
-999999 to
+999999
Max. digit includes ±.
12
Reference hole 2
window size X
3 0 to 511
Window size X
13
Reference hole 2
window size Y
3 0 to 479
Window size Y
=REMARKS=
When the data is omitted, the last data remains.
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.
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.