210
Communication operation and setting
(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:
Data writing format
Communication request data from the computer to the drive unit 1)
Reply data from the drive unit to the computer 3) (No data error detected)
Reply data from the drive unit to the computer 3) (With data error)
Indicate a control code
Specify the drive unit station numbers between H00 and H1F (stations 0 to 31) in hexadecimal.
When the
Pr.123 PU communication waiting time
is other than 9999, create the communication request data without "waiting time" in the data format. (The
number of characters decreases by 1.)
CR, LF code
When data is transmitted from the computer to the drive unit, codes CR (carriage return) and LF (line feed) are automatically set at the end of a data group
on some computers. In this case, setting must also be made on the drive unit according to the computer. Whether the CR and LF codes will be present or
absent can be selected using
Pr.124 PU communication CR/LF selection
.
No.
Operation
Run
Command
Operation
speed
Multi
command
Parameter
Write
Drive unit
reset
Monitor
Parameter
Read
1)
Communication request is sent to the
drive unit in accordance with the user
program in the computer.
A1
A, A2
A3
A, A2
A
B
B
2)
Drive unit data processing time
Present
Present
Present
Present
Present
Present
Present
3)
Reply data from the
drive unit (Data 1) is
checked for error)
No error
(Request
accepted)
C
C
C1
C
C
E, E1, E2,
E3
E, E2
With error.
(Request
rejected)
D
D
D
D
D
D
D
4)
Computer processing delay time
10ms or more
5)
Answer from
computer in response
to reply data 3).
(Data 3) is checked
for error)
No error
(No drive unit
processing)
Absent
Absent
Absent (C)
Absent
Absent
Absent (C) Absent (C)
With error.
(Drive unit
outputs 3)
again.)
Absent
Absent
F
Absent
Absent
F
F
In the communication request data from the computer to the drive unit, 10ms or more is also required after "no data error (ACK)".
Reply from the drive unit to the drive unit reset request can be selected.
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.
Except for those errors, the error is returned with data format D.
Format
Number of Characters
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
A
ENQ
Drive unit
station
number
Instruction
code
Data
Sum check
A1
ENQ
Drive unit
station
number
Instruction
code
Data
Sum check
A2
ENQ
Drive unit
station
number
Instruction
code
Data
Sum check
A3
ENQ
Drive unit
station
number
Instruction
code
Send
data
type
Receive
data
type
Data1
Data2
Sum check
Format
Number of Characters
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
C
ACK
Drive unit
station
number
C1
STX
Drive unit
station
number
Send
data
type
Receive
data
type
Error
code
1
Error
code
2
Data1
Data2
ETX
Sum check
Format
Number of Characters
1
2
3
4
5
D
NAK
Drive unit
station
number
Error
code
Summary of Contents for FR-E700EX
Page 11: ...VII MEMO ...
Page 23: ...12 MEMO ...
Page 288: ...286 MEMO ...
Page 302: ...300 MEMO ...
Page 314: ...312 MEMO ...