(3) Communication operation presence/absence and data format types
Data communication between the computer and drive unit is made in ASCII code (hexadecimal code).
Communication operation presence/absence and data format types are as follows:
No.
Operation
Communication request is sent to the
1)
drive unit in accordance with the user
program in the computer.
2)
drive unit data processing time
Reply data from the
3)
drive unit (Data 1) is
checked for error)
4)
Computer processing delay time
Answer from
computer in response
5)
to reply data 3).
(Data 3) is checked
for error)
In the communication request data from the computer to the
drive unit
Reply from the
When any of "0.01 to 9998" is set in Pr. 37 and "01" in instruction code, HFF sets data format to A2 or E2. In addition, data format is always A2 and E2
for read or write of Pr. 37.
At mode error, and data range error, C1 data contains an error code. (Refer to page 202.) Except for those errors, the error is returned with data format
D.
Data writing format
Communication request data from the computer to the drive unit 1)
Format
1
2
3
Drive unit
ENQ
A
station
number
Drive unit
ENQ
A1
station
number
Drive unit
ENQ
A2
station
number
Drive unit
ENQ
A3
station
number
Reply data from the drive unit to the computer 3) (No data error detected)
Format
1
2
3
Drive unit
ACK
C
station
number
Drive unit
STX
station
C1
number
192
Run
Command
A1
Present
No error
C
(Request
accepted)
With error
(Request
D
rejected)
No error
Absent
(No drive unit
processing)
With error
(Drive unit
Absent
outputs 3)
again.)
drive unit
to the
reset request can be selected. (Refer to page 198.)
4
5
6
7
8
Instruction
code
Instruction
Data
code
Instruction
code
Send
Receive
Instruction
data
data
code
type
type
4
5
6
7
8
Send
Receive
Error
Error
data
data
code 1
code 2
type
type
Operation
Multi
Parameter
Speed
Command
Write
A3
A, A2
A, A2
Present
Present
Present
C
C1
D
D
10ms or more
Absent
Absent
Absent
(C)
Absent
F
Absent
drive unit
, 10ms or more is also required after "no data error (ACK)". (Refer to page 194.)